avm2: Fix GraphicsPath.cubicCurveTo() [API()] version
Turns out, the docs were wrong again.
This commit is contained in:
parent
d824a02664
commit
cd4eeb238f
|
@ -11,7 +11,7 @@ package flash.display {
|
||||||
this.winding = winding;
|
this.winding = winding;
|
||||||
}
|
}
|
||||||
|
|
||||||
[API("694")]
|
[API("674")] // The online docs say 694, but that's a lie. This is the correct number from playerglobal.swc.
|
||||||
public function cubicCurveTo(controlX1:Number, controlY1:Number, controlX2:Number, controlY2:Number, anchorX:Number, anchorY:Number):void {
|
public function cubicCurveTo(controlX1:Number, controlY1:Number, controlX2:Number, controlY2:Number, anchorX:Number, anchorY:Number):void {
|
||||||
if (commands == null) {
|
if (commands == null) {
|
||||||
commands = new Vector.<int>();
|
commands = new Vector.<int>();
|
||||||
|
|
Loading…
Reference in New Issue