InkPresenterProtractor
struct · ferroui-controls-inking · v0.5.0
struct InkPresenterProtractor
A movable circular guide with a measured arc readout. The transform uses
the bounding circle's top-left corner; its local center is (radius,radius).
Members
kindis_visibleset_is_visibletransformset_transformradiusset_radiusis_center_marker_visibleset_is_center_marker_visibleis_angle_readout_visibleset_is_angle_readout_visibleare_angle_readouts_visibleset_are_angle_readouts_visibleare_tick_marks_visibleset_are_tick_marks_visibleare_rays_visibleset_are_rays_visibleis_resizableset_is_resizablebackground_colorset_background_colorforeground_colorset_foreground_coloraccent_colorset_accent_colorangle
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>
radius
fn radius(self: &Self) -> f64
set_radius
fn set_radius(self: &Self, value: f64) -> Result<(), InkError>
is_center_marker_visible
fn is_center_marker_visible(self: &Self) -> bool
set_is_center_marker_visible
fn set_is_center_marker_visible(self: &Self, value: bool)
is_angle_readout_visible
fn is_angle_readout_visible(self: &Self) -> bool
set_is_angle_readout_visible
fn set_is_angle_readout_visible(self: &Self, value: bool)
are_angle_readouts_visible
fn are_angle_readouts_visible(self: &Self) -> bool
Compatibility spelling for the original portable API.
set_are_angle_readouts_visible
fn set_are_angle_readouts_visible(self: &Self, value: bool)
are_tick_marks_visible
fn are_tick_marks_visible(self: &Self) -> bool
set_are_tick_marks_visible
fn set_are_tick_marks_visible(self: &Self, value: bool)
are_rays_visible
fn are_rays_visible(self: &Self) -> bool
set_are_rays_visible
fn set_are_rays_visible(self: &Self, value: bool)
is_resizable
fn is_resizable(self: &Self) -> bool
set_is_resizable
fn set_is_resizable(self: &Self, value: bool)
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)
accent_color
fn accent_color(self: &Self) -> Color
set_accent_color
fn set_accent_color(self: &Self, value: Color)
angle
fn angle(self: &Self) -> Option<f64>
The absolute swept angle of the latest snapped arc, in degrees.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyAnyValueClassDefaultsErasedDestructorIntoEitherIUnknownImplMarkupTypedIInkPresenterStencilPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.