FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositionEllipseGeometry

    struct · ferroui-base · v0.5.0

    struct CompositionEllipseGeometry
    

    An ellipse (WinUI Microsoft.UI.Composition.CompositionEllipseGeometry): its center and its radii radius, both animatable (Center, Radius).

    View source

    Members

    from_geometry

    fn from_geometry(geometry: &Rc<CompositionGeometry>) -> Option<CompositionEllipseGeometry>
    

    The handle of geometry as an ellipse geometry, if it is one.

    Source

    geometry

    fn geometry(self: &Self) -> &Rc<CompositionGeometry>
    

    The geometry as a CompositionGeometry.

    Source

    center

    fn center(self: &Self) -> Vector
    

    The centre of the ellipse.

    Source

    set_center

    fn set_center(self: &Self, value: Vector)
    

    Source

    radius

    fn radius(self: &Self) -> Vector
    

    The radii of the ellipse.

    Source

    set_radius

    fn set_radius(self: &Self, value: Vector)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Deref

    Availability

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