FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Polyline

    struct · ferroui-controls · v0.5.0

    struct Polyline
    

    Represents an open figure made of straight lines between points.

    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<Polyline>
    

    Returns a strong reference to this object.

    Source

    points_property

    fn points_property() -> &'static StyledProperty<Option<Points>>
    

    Defines the Points property.

    Source

    fill_rule_property

    fn fill_rule_property() -> &'static StyledProperty<FillRule>
    

    Defines the FillRule property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    points

    fn points(self: &Self) -> Option<Points>
    

    The vertices of the polyline.

    Source

    set_points

    fn set_points(self: &Self, value: Option<Points>)
    

    Source

    fill_rule

    fn fill_rule(self: &Self) -> FillRule
    

    Gets how the interior of the polyline is determined when a fill is applied.

    Source

    set_fill_rule

    fn set_fill_rule(self: &Self, value: FillRule)
    

    Sets how the interior of the polyline is determined when a fill is applied.

    Source

    Trait implementations

    Availability

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