enum openfl.display.CapsStyle

Available on all platforms

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:

Constructors

NONE

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

ROUND

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

SQUARE

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