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).
Members
from_geometry
fn from_geometry(geometry: &Rc<CompositionGeometry>) -> Option<CompositionEllipseGeometry>
The handle of geometry as an ellipse geometry, if it is one.
geometry
fn geometry(self: &Self) -> &Rc<CompositionGeometry>
The geometry as a CompositionGeometry.
center
fn center(self: &Self) -> Vector
The centre of the ellipse.
set_center
fn set_center(self: &Self, value: Vector)
radius
fn radius(self: &Self) -> Vector
The radii of the ellipse.
set_radius
fn set_radius(self: &Self, value: Vector)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneDeref
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.