Stretch
How content is scaled to fill the space available to it.
- Kind: Enum
- Namespace: SkeleKit
- Implements:
IComparable,IConvertible,IFormattable,ISpanFormattable
Values
| Name | Summary |
|---|---|
Fill | Content is stretched on both axes to fill, ignoring aspect ratio. |
None | Content keeps its natural size and is centered. |
Uniform | Content is scaled to fit while preserving aspect ratio (letterboxed). |
UniformToFill | Content is scaled to fill while preserving aspect ratio (cropped). |