Line styles for graphics.

Available since

1.0.0

.

Values

SolidColor(thickness:Float, color:Int, alpha:Float, pixelHinting:Bool, scaleMode:LineScaleMode, caps:CapsStyle, joints:JointStyle, miterLimit:Float)

The line is drawn as a solid color at the specified thickness.

Available since

1.0.0.

.

Gradient(thickness:Float, type:GradientType, colors:Array<Int>, alphas:Array<Float>, ratios:Array<Int>, radians:Float, spreadMethod:SpreadMethod, interpolationMethod:InterpolationMethod, focalPointRatio:Float)

The line is rendered as a gradient of multiple colors.

Available since

1.0.0.

.