FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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).

    View source

    Members

    kind

    fn kind(self: &Self) -> InkPresenterStencilKind
    

    Source

    is_visible

    fn is_visible(self: &Self) -> bool
    

    Source

    set_is_visible

    fn set_is_visible(self: &Self, value: bool)
    

    Source

    transform

    fn transform(self: &Self) -> Matrix
    

    Source

    set_transform

    fn set_transform(self: &Self, value: Matrix) -> Result<(), InkError>
    

    Source

    radius

    fn radius(self: &Self) -> f64
    

    Source

    set_radius

    fn set_radius(self: &Self, value: f64) -> Result<(), InkError>
    

    Source

    is_center_marker_visible

    fn is_center_marker_visible(self: &Self) -> bool
    

    Source

    set_is_center_marker_visible

    fn set_is_center_marker_visible(self: &Self, value: bool)
    

    Source

    is_angle_readout_visible

    fn is_angle_readout_visible(self: &Self) -> bool
    

    Source

    set_is_angle_readout_visible

    fn set_is_angle_readout_visible(self: &Self, value: bool)
    

    Source

    are_angle_readouts_visible

    fn are_angle_readouts_visible(self: &Self) -> bool
    

    Compatibility spelling for the original portable API.

    Source

    set_are_angle_readouts_visible

    fn set_are_angle_readouts_visible(self: &Self, value: bool)
    

    Source

    are_tick_marks_visible

    fn are_tick_marks_visible(self: &Self) -> bool
    

    Source

    set_are_tick_marks_visible

    fn set_are_tick_marks_visible(self: &Self, value: bool)
    

    Source

    are_rays_visible

    fn are_rays_visible(self: &Self) -> bool
    

    Source

    set_are_rays_visible

    fn set_are_rays_visible(self: &Self, value: bool)
    

    Source

    is_resizable

    fn is_resizable(self: &Self) -> bool
    

    Source

    set_is_resizable

    fn set_is_resizable(self: &Self, value: bool)
    

    Source

    background_color

    fn background_color(self: &Self) -> Color
    

    Source

    set_background_color

    fn set_background_color(self: &Self, value: Color)
    

    Source

    foreground_color

    fn foreground_color(self: &Self) -> Color
    

    Source

    set_foreground_color

    fn set_foreground_color(self: &Self, value: Color)
    

    Source

    accent_color

    fn accent_color(self: &Self) -> Color
    

    Source

    set_accent_color

    fn set_accent_color(self: &Self, value: Color)
    

    Source

    angle

    fn angle(self: &Self) -> Option<f64>
    

    The absolute swept angle of the latest snapped arc, in degrees.

    Source

    Trait implementations

    Availability

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