DisplayObjectContainer.hx 1.1 KB

12345678910111213141516171819202122
  1. package flash.display;
  2. extern class DisplayObjectContainer extends InteractiveObject {
  3. var mouseChildren : Bool;
  4. var numChildren(default,null) : Int;
  5. var tabChildren : Bool;
  6. var textSnapshot(default,null) : flash.text.TextSnapshot;
  7. function new() : Void;
  8. function addChild(child : DisplayObject) : DisplayObject;
  9. function addChildAt(child : DisplayObject, index : Int) : DisplayObject;
  10. function areInaccessibleObjectsUnderPoint(point : flash.geom.Point) : Bool;
  11. function contains(child : DisplayObject) : Bool;
  12. function getChildAt(index : Int) : DisplayObject;
  13. function getChildByName(name : String) : DisplayObject;
  14. function getChildIndex(child : DisplayObject) : Int;
  15. function getObjectsUnderPoint(point : flash.geom.Point) : Array<DisplayObject>;
  16. function removeChild(child : DisplayObject) : DisplayObject;
  17. function removeChildAt(index : Int) : DisplayObject;
  18. function setChildIndex(child : DisplayObject, index : Int) : Void;
  19. function swapChildren(child1 : DisplayObject, child2 : DisplayObject) : Void;
  20. function swapChildrenAt(index1 : Int, index2 : Int) : Void;
  21. }