FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PathFigure

    struct · ferroui-base · v0.5.0

    struct PathFigure
    

    Represents a subsection of a geometry: a single connected series of segments.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<PathFigure>
    

    Returns a strong reference to this object.

    Source

    is_closed_property

    fn is_closed_property() -> &'static StyledProperty<bool>
    

    Source

    is_filled_property

    fn is_filled_property() -> &'static StyledProperty<bool>
    

    Source

    segments_property

    fn segments_property() -> &'static DirectProperty<PathFigure, Option<PathSegments>>
    

    Source

    start_point_property

    fn start_point_property() -> &'static StyledProperty<Point>
    

    Source

    construct

    fn construct() -> Self
    

    Creates the class data.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a figure with an empty segments collection.

    Source

    is_closed

    fn is_closed(self: &Self) -> bool
    

    Whether the figure is closed.

    Source

    set_is_closed

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

    Source

    is_filled

    fn is_filled(self: &Self) -> bool
    

    Whether the figure is filled.

    Source

    set_is_filled

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

    Source

    segments

    fn segments(self: &Self) -> Option<PathSegments>
    

    The segments of the figure.

    Source

    set_segments

    fn set_segments(self: &Self, value: Option<PathSegments>)
    

    Source

    start_point

    fn start_point(self: &Self) -> Point
    

    The start point of the figure.

    Source

    set_start_point

    fn set_start_point(self: &Self, value: Point)
    

    Source

    Trait implementations

    Availability

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