StrokeCap
@RequiresCarApi(value = 9)
@ExperimentalCarApi
@CarProtocol
class StrokeCap
Defines the treatment applied to the beginning and end of drawn line segments or progress bar tracks. When drawing a path with a stroke, the cap type/style dictates whether the ends are rounded off, squared, etc. This class contains the allowed types of stroke caps.
Summary
Constants |
|
|---|---|
const Int |
DEFAULT = 0The default stroke cap style defined by the system. |
const Int |
ROUND = 1Begin and end contours with a semicircle extension. |
const Int |
SQUARE = 2Begin and end contours with a half square extension. |
Constants
DEFAULT
const val DEFAULT = 0: Int
The default stroke cap style defined by the system.
ROUND
const val ROUND = 1: Int
Begin and end contours with a semicircle extension.
SQUARE
const val SQUARE = 2: Int
Begin and end contours with a half square extension.