avm2: Stub DisplayObject.scale9Grid
This commit is contained in:
parent
830d5198f2
commit
b919889174
|
@ -9,6 +9,9 @@ package flash.display {
|
||||||
import flash.geom.Point;
|
import flash.geom.Point;
|
||||||
import flash.events.EventDispatcher;
|
import flash.events.EventDispatcher;
|
||||||
|
|
||||||
|
import __ruffle__.stub_getter;
|
||||||
|
import __ruffle__.stub_setter;
|
||||||
|
|
||||||
[Ruffle(InstanceAllocator)]
|
[Ruffle(InstanceAllocator)]
|
||||||
[Ruffle(NativeInstanceInit)]
|
[Ruffle(NativeInstanceInit)]
|
||||||
public class DisplayObject extends EventDispatcher implements IBitmapDrawable {
|
public class DisplayObject extends EventDispatcher implements IBitmapDrawable {
|
||||||
|
@ -59,6 +62,14 @@ package flash.display {
|
||||||
public native function get scaleZ():Number;
|
public native function get scaleZ():Number;
|
||||||
public native function set scaleZ(value:Number):void;
|
public native function set scaleZ(value:Number):void;
|
||||||
|
|
||||||
|
public function get scale9Grid():Rectangle {
|
||||||
|
stub_getter("flash.display.DisplayObject", "scale9Grid");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
public function set scale9Grid(value:Rectangle):void {
|
||||||
|
stub_setter("flash.display.DisplayObject", "scale9Grid");
|
||||||
|
}
|
||||||
|
|
||||||
public native function get name():String;
|
public native function get name():String;
|
||||||
public native function set name(value:String):void;
|
public native function set name(value:String):void;
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ package flash.display {
|
||||||
throw new IllegalOperationError("Error #2071: The Stage class does not implement this property or method.", 2071);
|
throw new IllegalOperationError("Error #2071: The Stage class does not implement this property or method.", 2071);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set scale9Grid(value:Rectangle):void {
|
override public function set scale9Grid(value:Rectangle):void {
|
||||||
throw new IllegalOperationError("Error #2071: The Stage class does not implement this property or method.", 2071);
|
throw new IllegalOperationError("Error #2071: The Stage class does not implement this property or method.", 2071);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue