StrokeCap
@Serializable(with = StrokeCapSerializer::class)
This is a wrapper class for the StrokeCap property of the Compose UI library.
The StrokeCap inline class encapsulates the value of the stroke cap as a string, providing utility methods for conversion and string representation.
The class is defined as an inline class to minimize memory overhead.
The class comes with three predefined instances: Butt, Round and Square, representing the three supported fill types in Android Compose.
The toString method is overridden to return the encapsulated string value.
Properties
Functions
Link copied to clipboard
Provides a way to get the canonical string representation of the ComposeType implementation.