StrokeStyle

sealed class StrokeStyle

Describes how shape faces are painted in an isometric scene.

Three variants are available:

  • FillOnly -- fills faces with color but draws no outline.

  • Stroke -- draws only the outline (no fill).

  • FillAndStroke -- fills faces and draws an outline on top (the default).

See also

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class FillAndStroke(val width: Float = 1.0f, val color: IsoColor = DefaultStrokeColor) : StrokeStyle

Fills shape faces with color and draws an outline on top.

Link copied to clipboard
data object FillOnly : StrokeStyle

Fills shape faces with color only; no outline is drawn.

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

Draws only the outline of shape faces without filling them.