🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

StrokeCap

Styles to use for line endings.

Source set: Common
public class StrokeCap internal constructor(@Suppress("unused") private val value: Int)

Styles to use for line endings. See Paint.strokeCap.

Functions

toString

Source set: Common
override fun toString(): String

Members

Companion

Source set: Common
public companion object

Properties

Butt

Source set: Common
public val Butt: StrokeCap

Begin and end contours with a flat edge and no extension.

Round

Source set: Common
public val Round: StrokeCap

Begin and end contours with a semi-circle extension.

Square

Source set: Common
public val Square: StrokeCap

Begin and end contours with a half square extension. This is similar to extending each contour by half the stroke width (as given by Paint.strokeWidth).