pub struct InkPresenterProtractor { /* private fields */ }Expand description
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).
Implementations§
Source§impl InkPresenterProtractor
impl InkPresenterProtractor
pub fn kind(&self) -> InkPresenterStencilKind
pub fn is_visible(&self) -> bool
pub fn set_is_visible(&self, value: bool)
pub fn transform(&self) -> Matrix
pub fn set_transform(&self, value: Matrix) -> Result<(), InkError>
pub fn radius(&self) -> f64
pub fn set_radius(&self, value: f64) -> Result<(), InkError>
pub fn is_center_marker_visible(&self) -> bool
pub fn set_is_center_marker_visible(&self, value: bool)
pub fn is_angle_readout_visible(&self) -> bool
pub fn set_is_angle_readout_visible(&self, value: bool)
Sourcepub fn are_angle_readouts_visible(&self) -> bool
pub fn are_angle_readouts_visible(&self) -> bool
Compatibility spelling for the original portable API.
pub fn set_are_angle_readouts_visible(&self, value: bool)
pub fn are_tick_marks_visible(&self) -> bool
pub fn set_are_tick_marks_visible(&self, value: bool)
pub fn are_rays_visible(&self) -> bool
pub fn set_are_rays_visible(&self, value: bool)
pub fn is_resizable(&self) -> bool
pub fn set_is_resizable(&self, value: bool)
pub fn background_color(&self) -> Color
pub fn set_background_color(&self, value: Color)
pub fn foreground_color(&self) -> Color
pub fn set_foreground_color(&self, value: Color)
pub fn accent_color(&self) -> Color
pub fn set_accent_color(&self, value: Color)
Trait Implementations§
Source§impl IInkPresenterStencil for InkPresenterProtractor
impl IInkPresenterStencil for InkPresenterProtractor
fn kind(&self) -> InkPresenterStencilKind
fn is_visible(&self) -> bool
fn set_is_visible(&self, value: bool)
fn transform(&self) -> Matrix
fn set_transform(&self, value: Matrix) -> Result<(), InkError>
fn background_color(&self) -> Color
fn set_background_color(&self, value: Color)
fn foreground_color(&self) -> Color
fn set_foreground_color(&self, value: Color)
Source§impl MarkupTyped for InkPresenterProtractor
impl MarkupTyped for InkPresenterProtractor
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Auto Trait Implementations§
impl !Freeze for InkPresenterProtractor
impl !RefUnwindSafe for InkPresenterProtractor
impl !Send for InkPresenterProtractor
impl !Sync for InkPresenterProtractor
impl !UnwindSafe for InkPresenterProtractor
impl Unpin for InkPresenterProtractor
impl UnsafeUnpin for InkPresenterProtractor
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more