Stroke

data class Stroke(val width: Float = 1.0f, val color: IsoColor = DefaultStrokeColor) : StrokeStyle

Draws only the outline of shape faces without filling them.

Parameters

width

Stroke width in pixels. Must be positive.

color

Stroke IsoColor. Defaults to DefaultStrokeColor.

Constructors

Link copied to clipboard
constructor(width: Float = 1.0f, color: IsoColor = DefaultStrokeColor)

Properties

Link copied to clipboard
Link copied to clipboard