// Enum: openfl._internal.swf.ShapeCommand

var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this

$global.Object.defineProperty(exports, "__esModule", {value: true});

// Imports

var $estr = require("./../../../estr_stub").default;
var $hxClasses = require("./../../../hxClasses_stub").default;

// Definition

var ShapeCommand = $hxClasses["openfl._internal.swf.ShapeCommand"] = { __ename__: ["openfl","_internal","swf","ShapeCommand"], __constructs__: ["BeginBitmapFill","BeginFill","BeginGradientFill","CurveTo","EndFill","LineStyle","LineTo","MoveTo"] }

ShapeCommand.LineTo = function(x,y) { var $x = ["LineTo",6,x,y]; $x.__enum__ = ShapeCommand; $x.toString = $estr; return $x; }
ShapeCommand.MoveTo = function(x,y) { var $x = ["MoveTo",7,x,y]; $x.__enum__ = ShapeCommand; $x.toString = $estr; return $x; }
ShapeCommand.BeginBitmapFill = function(bitmap,matrix,repeat,smooth) { var $x = ["BeginBitmapFill",0,bitmap,matrix,repeat,smooth]; $x.__enum__ = ShapeCommand; $x.toString = $estr; return $x; }
ShapeCommand.CurveTo = function(controlX,controlY,anchorX,anchorY) { var $x = ["CurveTo",3,controlX,controlY,anchorX,anchorY]; $x.__enum__ = ShapeCommand; $x.toString = $estr; return $x; }
ShapeCommand.BeginFill = function(color,alpha) { var $x = ["BeginFill",1,color,alpha]; $x.__enum__ = ShapeCommand; $x.toString = $estr; return $x; }
ShapeCommand.EndFill = ["EndFill",4];
ShapeCommand.EndFill.toString = $estr;
ShapeCommand.EndFill.__enum__ = ShapeCommand;

ShapeCommand.LineStyle = function(thickness,color,alpha,pixelHinting,scaleMode,caps,joints,miterLimit) { var $x = ["LineStyle",5,thickness,color,alpha,pixelHinting,scaleMode,caps,joints,miterLimit]; $x.__enum__ = ShapeCommand; $x.toString = $estr; return $x; }
ShapeCommand.BeginGradientFill = function(fillType,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio) { var $x = ["BeginGradientFill",2,fillType,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio]; $x.__enum__ = ShapeCommand; $x.toString = $estr; return $x; }

exports.default = ShapeCommand;