Class wtVectorView
Object
|
+--wtObject
|
+--wtVectorView
- class
wtVectorView
- extends wtObject
A container for purely vector graphics.
Defined in wt_vector.js
|
Constructor Summary |
wtVectorView(<wtCanvas> parentWidget, <Number> width, <Number> height)
Constructs a container for purely vector graphics.
|
| Methods inherited from class wtObject |
startProxy, endProxy, toString, connect, disconnect, emit, setSlot, removeSlot, setSignal, removeSignal, get, set, addDependency, clearLapsedListeners
|
wtVectorView
wtVectorView(<wtCanvas> parentWidget, <Number> width, <Number> height)
Constructs a container for purely vector graphics.
Parameters:
parentWidget - The parent canvas for adding this widget to.
width - The width of this container in pixels.
height - The height of this container in pixels.
addWidget
wtVectorWidget addWidget(<wtVectorWidget> widget)
Adds a vector graphical widget to this container.
Parameters:
widget - The vector graphical widget to be added.
clearAll
void clearAll()
Removes all child widgets.
getScreenPosition
Object getScreenPosition()
Tells the screen position of this vector graphical widget container.
Returns:
x: x-coordinate on screen, y: y-coordinate on screen
setSize
void setSize(<Number> width, <Number> height)
Sets the size of this vector graphics container.
Parameters:
width - The new width in pixels.
height - The new height in pixels.
Documentation generated by
JSDoc on Sun May 13 11:26:24 2007