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:

Variables

@:value(cast "none")@:enum@:implinlineread onlyNONE:CapsStyle = "none"

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

@:value(cast "round")@:enum@:implinlineread onlyROUND:CapsStyle = "round"

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

@:value(cast "square")@:enum@:implinlineread onlySQUARE:CapsStyle = "square"

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