InkToolbarPenConfigurationControl
struct · ferroui-controls-inking · v0.5.0
struct InkToolbarPenConfigurationControl
Members
TYPEto_refpen_button_propertyborder_brush_propertyborder_thickness_propertycorner_radius_propertybackground_sizing_propertypadding_propertyconstructnewfor_penpen_buttonborder_brushset_border_brushborder_thicknessset_border_thicknesscorner_radiusset_corner_radiusbackground_sizingset_background_sizingpaddingset_paddingstroke_width_sliderstroke_preview
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<InkToolbarPenConfigurationControl>
Returns a strong reference to this object.
pen_button_property
fn pen_button_property() -> &'static DirectProperty<InkToolbarPenConfigurationControl, Option<Ref<InkToolbarPenButton>>>
border_brush_property
fn border_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
border_thickness_property
fn border_thickness_property() -> &'static StyledProperty<Thickness>
corner_radius_property
fn corner_radius_property() -> &'static StyledProperty<CornerRadius>
background_sizing_property
fn background_sizing_property() -> &'static StyledProperty<BackgroundSizing>
padding_property
fn padding_property() -> &'static StyledProperty<Thickness>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
for_pen
fn for_pen(pen: &InkToolbarPenButton) -> Ref<Self>
pen_button
fn pen_button(self: &Self) -> Option<Ref<InkToolbarPenButton>>
border_brush
fn border_brush(self: &Self) -> Option<Rc<dyn IBrush>>
set_border_brush
fn set_border_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
border_thickness
fn border_thickness(self: &Self) -> Thickness
set_border_thickness
fn set_border_thickness(self: &Self, value: Thickness)
corner_radius
fn corner_radius(self: &Self) -> CornerRadius
set_corner_radius
fn set_corner_radius(self: &Self, value: CornerRadius)
background_sizing
fn background_sizing(self: &Self) -> BackgroundSizing
set_background_sizing
fn set_background_sizing(self: &Self, value: BackgroundSizing)
padding
fn padding(self: &Self) -> Thickness
set_padding
fn set_padding(self: &Self, value: Thickness)
stroke_width_slider
fn stroke_width_slider(self: &Self) -> Option<Ref<InkToolbarStrokeWidthSlider>>
stroke_preview
fn stroke_preview(self: &Self) -> Option<Ref<Path>>
The sample stroke, rendered with the active pen's drawing attributes.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherControlImplExtPanelImplExtStackPanelImplExtIUnknownImplDerefUpcast<T>Upcast<InkToolbarPenConfigurationControl>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplInteractiveImplControlImplPanelImplLayoutableImplStackPanelImplVisualImplInputElementImplFerroObjectImplDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.