Overlay

From oWiki

Jump to: navigation, search

Contents


Attributes

zOrder

int  ( r, w )
Gets/Sets the overlay's z-order.


Methods

addPanel( e )

e: an OverlayElement

Adds a container element, of type 'Panel' or 'BorderPanel', to this overlay.

setScroll( x, y )

x: float
y: float

Sets the scrolling factor of this overlay.

setRotate( a )

a: float

Rotates this overlay by an angle, a, in degrees.

setScale( x, y )

x: float
y: float

Sets the scaling factor of this overlay.

clear()

Clears the overlay of all attached items.

show()

Shows the overlay if it was hidden.

hide()

Hides the overlay if it was visible.

refresh()

Redrawn the overlay.

findElementAt( x, y )

x: float
y: float
Return: an OverlayElement

This returns a OverlayElement at position x,y.
Personal tools