UNPKG

openfl

Version:

A fast, productive library for 2D cross-platform development.

36 lines (28 loc) 929 B
declare namespace openfl.display { /** * The JointStyle class is an enumeration of constant values that specify the * joint style to use in drawing lines. These constants are provided for use * as values in the `joints` parameter of the * `openfl.display.Graphics.lineStyle()` method. The method supports * three types of joints: miter, round, and bevel, as the following example * shows: */ export enum JointStyle { /** * Specifies beveled joints in the `joints` parameter of the * `openfl.display.Graphics.lineStyle()` method. */ BEVEL = "bevel", /** * Specifies mitered joints in the `joints` parameter of the * `openfl.display.Graphics.lineStyle()` method. */ MITER = "miter", /** * Specifies round joints in the `joints` parameter of the * `openfl.display.Graphics.lineStyle()` method. */ ROUND = "round" } } export default openfl.display.JointStyle;