Stroke

class Stroke(val stroke: Stroke) : DrawStyle

Outlines the boundary of the shape using a stroke.

Constructors

Link copied to clipboard
constructor(stroke: Stroke)
constructor(width: Float = 0.0f, cap: Int = BasicStroke.CAP_BUTT, join: Int = BasicStroke.JOIN_MITER, miterLimit: Float = DEFAULT_MITER_LIMIT, dash: FloatArray? = null, dashPhase: Float = 0.0f)

Creates a Stroke style with the specified parameters, wrapping a BasicStroke.

Properties

Link copied to clipboard

the AwtStroke used to outline the shape.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String