CompositionStretch
enum · ferroui-base · v0.5.0
enum CompositionStretch
How the content of a composition surface brush fills the area of the
brush (WinUI CompositionStretch).
Members
None
None = 0
The content keeps its natural size.
Fill
Fill = 1
The content is scaled to the area, without keeping its aspect ratio.
Uniform
Uniform = 2
The content is scaled to fit inside the area, keeping its aspect ratio.
UniformToFill
UniformToFill = 3
The content is scaled to cover the area, keeping its aspect ratio; the part outside the area is clipped.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherServerPropertyValueBatchValueCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.