MarkerCornerBasedShape

open class MarkerCornerBasedShape(val base: CornerBasedShape, val tickSize: Dp = MARKER_TICK_SIZE.dp) : Shape

A CornerBasedShape wrapper that additionally draws a triangular tick.

Constructors

Link copied to clipboard
constructor(base: CornerBasedShape, tickSize: Dp = MARKER_TICK_SIZE.dp)

Types

Link copied to clipboard

Specifies the position of a MarkerCornerBasedShape’s tick.

Properties

Link copied to clipboard
Link copied to clipboard

Specifies the tick position.

Link copied to clipboard

the size of the tick.

Link copied to clipboard
var tickX: Float?

The tick’s x-coordinate (relative to the center of the MarkerCornerBasedShape). If this is null, the tick isn’t drawn.

Functions

Link copied to clipboard
open override fun createOutline(size: Size, layoutDirection: LayoutDirection, density: Density): Outline
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int