CompositionLineGeometry
struct · ferroui-base · v0.5.0
struct CompositionLineGeometry
A line (WinUI Microsoft.UI.Composition.CompositionLineGeometry) from
start to end, both animatable (Start, End).
Members
from_geometry
fn from_geometry(geometry: &Rc<CompositionGeometry>) -> Option<CompositionLineGeometry>
The handle of geometry as a line geometry, if it is one.
geometry
fn geometry(self: &Self) -> &Rc<CompositionGeometry>
The geometry as a CompositionGeometry.
start
fn start(self: &Self) -> Vector
The start point of the line.
set_start
fn set_start(self: &Self, value: Vector)
end
fn end(self: &Self) -> Vector
The end point of the line.
set_end
fn set_end(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.