DynamicPanel

A component which supports panning, zooming, and rotaion TODO: implement zoom and rotation

Constructors

this
this(Display container, iRectangle location, Texture texture)

Constructs a new dynamic panel

Members

Functions

changePan
void changePan(iVector change)

Changes the location of the pan

setPan
void setPan(iVector amount)

Sets the pan to the given amount

Properties

location
iRectangle location [@property getter]

A property to return the panel's location

location
iRectangle location [@property setter]

Sets the panel's location

Variables

_location
iRectangle _location;

The location of the panel

panAmount
iVector panAmount;

The distance the object is panned

texture
Texture texture;

The texture to be drawn

Meta