markerCorneredShape

fun Shapes.markerCorneredShape(topLeft: Corner, topRight: Corner, bottomRight: Corner, bottomLeft: Corner, tickSizeDp: Dp = DEF_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 Shapes.markerCorneredShape(all: Corner, tickSizeDp: Dp = DEF_MARKER_TICK_SIZE.dp): MarkerCorneredShape

Creates a MarkerCorneredShape.

Parameters

all

the size and look of all corners.

tickSizeDp

the tick size.


fun Shapes.markerCorneredShape(corneredShape: CorneredShape, tickSizeDp: Dp = DEF_MARKER_TICK_SIZE.dp): MarkerCorneredShape

Creates a MarkerCorneredShape out of a regular CorneredShape.

Parameters

corneredShape

the base CorneredShape.

tickSizeDp

the tick size.