MarkerCorneredShape
open class MarkerCorneredShape(val topLeft: Corner, val topRight: Corner, val bottomRight: Corner, val bottomLeft: Corner, val tickSizeDp: Float = MARKER_TICK_SIZE) : CorneredShape
MarkerCorneredShape is an extension of CorneredShape that supports drawing a triangular tick at a given point.
Parameters
Types
Functions
Link copied to clipboard
open fun createPath(density: Float, path: Path, left: Float, top: Float, right: Float, bottom: Float)
Adds a contour of this CorneredShape to the provided Path.
Link copied to clipboard
Returns a scale factor for the corner size, which will prevent graphical glitches in case the size of the corners is larger than the shape’s dimensions.