IInkPresenterStencil
trait · ferroui-controls-inking · v0.5.0
trait IInkPresenterStencil
Shared programmatic contract of the two canvas stencil services.
Members
kindis_visibleset_is_visibletransformset_transformbackground_colorset_background_colorforeground_colorset_foreground_color
kind
fn kind(self: &Self) -> InkPresenterStencilKind
is_visible
fn is_visible(self: &Self) -> bool
set_is_visible
fn set_is_visible(self: &Self, value: bool)
transform
fn transform(self: &Self) -> Matrix
set_transform
fn set_transform(self: &Self, value: Matrix) -> Result<(), InkError>
background_color
fn background_color(self: &Self) -> Color
set_background_color
fn set_background_color(self: &Self, value: Color)
foreground_color
fn foreground_color(self: &Self) -> Color
set_foreground_color
fn set_foreground_color(self: &Self, value: Color)
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.