A rectangular panel. Can be used as a container for other components.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this Panel. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
Variables
content:Sprite
Container for content added to this panel. This is masked, so best to add children to content, rather than directly to the panel.