The CapsStyle class is an enumeration of constant values that specify the caps style to use in drawing lines. The constants are provided for use as values in the caps parameter of the openfl.display.Graphics.lineStyle() method. You can specify the following three types of caps:

The three types of caps: NONE, ROUND, and SQUARE.

Variables

@:value(cast 0)@:impl@:enuminlineread onlyNONE:CapsStyle = 0

Used to specify no caps in the caps parameter of the openfl.display.Graphics.lineStyle() method.

@:value(cast 1)@:impl@:enuminlineread onlyROUND:CapsStyle = 1

Used to specify round caps in the caps parameter of the openfl.display.Graphics.lineStyle() method.

@:value(cast 2)@:impl@:enuminlineread onlySQUARE:CapsStyle = 2

Used to specify square caps in the caps parameter of the openfl.display.Graphics.lineStyle() method.