FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    QuadraticBezierSegment

    struct · ferroui-base · v0.5.0

    struct QuadraticBezierSegment
    

    A quadratic Bezier curve segment of a path figure.

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

    Returns a strong reference to this object.

    Source

    point1_property

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

    Source

    point2_property

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

    Source

    construct

    fn construct() -> Self
    

    Creates the class data.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    point1

    fn point1(self: &Self) -> Point
    

    The control point of the curve.

    Source

    set_point1

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

    Source

    point2

    fn point2(self: &Self) -> Point
    

    The end point of the curve.

    Source

    set_point2

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

    Source

    Trait implementations

    Availability

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