FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InkToolbarPenConfigurationControl

    struct · ferroui-controls-inking · v0.5.0

    struct InkToolbarPenConfigurationControl
    

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<InkToolbarPenConfigurationControl>
    

    Returns a strong reference to this object.

    Source

    pen_button_property

    fn pen_button_property() -> &'static DirectProperty<InkToolbarPenConfigurationControl, Option<Ref<InkToolbarPenButton>>>
    

    Source

    border_brush_property

    fn border_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
    

    Source

    border_thickness_property

    fn border_thickness_property() -> &'static StyledProperty<Thickness>
    

    Source

    corner_radius_property

    fn corner_radius_property() -> &'static StyledProperty<CornerRadius>
    

    Source

    background_sizing_property

    fn background_sizing_property() -> &'static StyledProperty<BackgroundSizing>
    

    Source

    padding_property

    fn padding_property() -> &'static StyledProperty<Thickness>
    

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    for_pen

    fn for_pen(pen: &InkToolbarPenButton) -> Ref<Self>
    

    Source

    pen_button

    fn pen_button(self: &Self) -> Option<Ref<InkToolbarPenButton>>
    

    Source

    border_brush

    fn border_brush(self: &Self) -> Option<Rc<dyn IBrush>>
    

    Source

    set_border_brush

    fn set_border_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
    

    Source

    border_thickness

    fn border_thickness(self: &Self) -> Thickness
    

    Source

    set_border_thickness

    fn set_border_thickness(self: &Self, value: Thickness)
    

    Source

    corner_radius

    fn corner_radius(self: &Self) -> CornerRadius
    

    Source

    set_corner_radius

    fn set_corner_radius(self: &Self, value: CornerRadius)
    

    Source

    background_sizing

    fn background_sizing(self: &Self) -> BackgroundSizing
    

    Source

    set_background_sizing

    fn set_background_sizing(self: &Self, value: BackgroundSizing)
    

    Source

    padding

    fn padding(self: &Self) -> Thickness
    

    Source

    set_padding

    fn set_padding(self: &Self, value: Thickness)
    

    Source

    stroke_width_slider

    fn stroke_width_slider(self: &Self) -> Option<Ref<InkToolbarStrokeWidthSlider>>
    

    Source

    stroke_preview

    fn stroke_preview(self: &Self) -> Option<Ref<Path>>
    

    The sample stroke, rendered with the active pen's drawing attributes.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.