markerCornered

fun Shape.Companion.markerCornered(topLeft: Corner, topRight: Corner, bottomRight: Corner, bottomLeft: Corner, tickSizeDp: Dp = MARKER_TICK_SIZE.dp): MarkerCorneredShape

Creates a MarkerCorneredShape.

Parameters

topLeft

the size and look of the top-left corner.

topRight

the size and look of the top-right corner.

bottomRight

the size and look of the bottom-right corner.

bottomLeft

the size and look of the bottom-left corner.

tickSizeDp

the tick size.


fun Shape.Companion.markerCornered(all: Corner, tickSizeDp: Dp = MARKER_TICK_SIZE.dp): MarkerCorneredShape

Creates a MarkerCorneredShape.

Parameters

all

the size and look of all corners.

tickSizeDp

the tick size.


fun Shape.Companion.markerCornered(corneredShape: CorneredShape, tickSizeDp: Dp = MARKER_TICK_SIZE.dp): MarkerCorneredShape

Creates a MarkerCorneredShape out of a regular CorneredShape.

Parameters

corneredShape

the base CorneredShape.

tickSizeDp

the tick size.