Stroke
data class Stroke(val color: Color, val width: Float, val cap: Paint.Stroke.Cap = Cap.Butt, val join: Paint.Stroke.Join = Join.Miter(), val dash: Paint.Stroke.Dash = Dash.None) : Paint
Draws a color around the outside of a shape.
Constructors
Link copied to clipboard
constructor(color: Color, width: Float, cap: Paint.Stroke.Cap = Cap.Butt, join: Paint.Stroke.Join = Join.Miter(), dash: Paint.Stroke.Dash = Dash.None)
Types
Functions
Link copied to clipboard
Converts a Krayon Paint into an AndroidPaint.