[][src]Trait orbtk_utils::Bordered

pub trait Bordered {
    fn border_thickness(&self) -> Thickness;
fn set_border_thickness(&mut self, thickness: Thickness);
fn border_brush(&self) -> &Brush;
fn set_border_brush(&mut self, brush: Brush);
fn border_radius(&self) -> f64;
fn set_border_radius(&mut self, radius: f64);
fn border(&self) -> &Border;
fn set_border(&mut self, border: Border); }

Contains a set of getters and setters to read and write to a border.

Required methods

fn border_thickness(&self) -> Thickness

Gets the thickness.

fn set_border_thickness(&mut self, thickness: Thickness)

Sets the border thickness.

fn border_brush(&self) -> &Brush

Gets the border brush.

fn set_border_brush(&mut self, brush: Brush)

Sets the border brush.

fn border_radius(&self) -> f64

Gets the border radius.

fn set_border_radius(&mut self, radius: f64)

Sets the border radius.

fn border(&self) -> &Border

Gets the complete border.

fn set_border(&mut self, border: Border)

Sets the complete border.

Loading content...

Implementors

Loading content...