Struct conrod::widget::xy_pad::Style[][src]

pub struct Style {
    pub color: Option<Color>,
    pub border: Option<Scalar>,
    pub border_color: Option<Color>,
    pub label_color: Option<Color>,
    pub label_font_size: Option<FontSize>,
    pub label_font_id: Option<Option<Id>>,
    pub value_font_size: Option<FontSize>,
    pub line_thickness: Option<Scalar>,
}

Unique graphical styling for the XYPad.

Fields

The color of the XYPad's rectangle.

The width of the border surrounding the rectangle.

The color of the surrounding rectangle border.

The color of the XYPad's label and value label text.

The font size for the XYPad's label.

The ID of the font used to display the label.

The font size for the XYPad's value label.

The thickness of the XYPad's crosshair lines.

Trait Implementations

impl Copy for Style
[src]

impl Clone for Style
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Style
[src]

Formats the value using the given formatter. Read more

impl Default for Style
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Style
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Style

impl Sync for Style