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

.

See also:

Bitmap(thickness:Float, bitmapData:BitmapData, matrix:Matrix, repeat:Bool, smooth:Bool)

The line is rendered as a bitmap.

Available since

1.0.0

.

See also:

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

The line is rendered as a gradient of multiple colors.

Available since

1.0.0

.

See also:

None

A line is not drawn.

Available since

1.0.0

.