Fill styles for graphics.

Available since

1.0.0

.

Values

SolidColor(color:Int, alpha:Float)

The fill is rendered as a solid color with the specified alpha.

Available since

1.0.0

.

See also:

Bitmap(bitmapData:BitmapData, matrix:Matrix, repeat:Bool, smoothing:Bool)

The fill is rendered as a bitmap.

Available since

1.0.0

.

See also:

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

The fill is rendered as a gradient of multiple colors.

Available since

1.0.0

.

See also: