CompositionStrokeCap
enum · ferroui-base · v0.5.0
enum CompositionStrokeCap
The shape at an end of a stroke or of a dash (WinUI
CompositionStrokeCap).
Members
Flat
Flat = 0
The stroke ends at the end point.
Square
Square = 1
A square half the thickness long beyond the end point.
Round
Round = 2
A half circle beyond the end point.
Triangle
Triangle = 3
A triangle half the thickness high beyond the end point.
to_pen_line_cap
fn to_pen_line_cap(self: Self) -> PenLineCap
The line cap of the platform pen.
Deviation (winui-composition.md): the pens of FerroUI have no
triangle cap; Triangle is drawn as Round, the cap that comes
closest.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHashBatchValueServerPropertyValue
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.