UNPKG

@awayjs/graphics

Version:
29 lines (28 loc) 993 B
/** * 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 <code>caps</code> parameter of the * <code>flash.display.Graphics.lineStyle()</code> method. You can specify the * following three types of caps: */ var CapsStyle = /** @class */ (function () { function CapsStyle() { } /** * Used to specify round caps in the <code>caps</code> parameter of the * <code>flash.display.Graphics.lineStyle()</code> method. */ CapsStyle.ROUND = 1; /** * Used to specify no caps in the <code>caps</code> parameter of the * <code>flash.display.Graphics.lineStyle()</code> method. */ CapsStyle.NONE = 0; /** * Used to specify square caps in the <code>caps</code> parameter of the * <code>flash.display.Graphics.lineStyle()</code> method. */ CapsStyle.SQUARE = 2; return CapsStyle; }()); export { CapsStyle };