WT Toolkit 0.3.3

Class wtVectorWidget

Object
   |
   +--wtObject
         |
         +--wtVectorWidget
Direct Known Subclasses:
wtVectorGroup, wtText, wtPath, wtLine, wtOval

class wtVectorWidget
extends wtObject


A vector graphics object. This is the base class of all vector graphics objects.
Defined in wt_vector.js


Constructor Summary
wtVectorWidget(<wtCanvas|wtVectorGroup> parentWidget, <String> tagName)
            Constructs a vector graphics object.
 
Method Summary
 wtColor getFillColor()
           Tells the widget's fill color.
 Number getFillOpacity()
           Tells the widget's current fill opacity.
 wtColor; getStrokeColor()
           Tells the widget's stroke color.
 Number getStrokeOpacity()
           Tells the widget's current stroke opacity.
 Number getStrokeWidth()
           Tells the widget's stroke width.
 Boolean isVisible()
           Tells whether the widget is visible or not.
 void removeSelf()
           Destroys the widget.
 void setColor(fillColor, strokeColor)
           Sets the widget's fill and stroke color.
 void setFillColor(<wtColor|String> color)
           Sets the widget's fill color.
 void setFillOpacity(<Number> alpha)
           Sets the widget's fill opacity.
 void setOpacity(<Number> alpha)
           Sets the widget's opacity.
 void setStrokeColor(<wtColor|String> color)
           Sets the widget's stroke color.
 void setStrokeOpacity(<Number> alpha)
           Sets the widget's stroke opacity.
 void setStrokeWidth(<Number> strokeWidth)
           Sets the widget's stroke width.
 void setVisible(<Boolean> yes)
           Sets the widget's visibility.
 
Methods inherited from class wtObject
startProxy, endProxy, toString, connect, disconnect, emit, setSlot, removeSlot, setSignal, removeSignal, get, set, addDependency, clearLapsedListeners
 

Constructor Detail

wtVectorWidget

wtVectorWidget(<wtCanvas|wtVectorGroup> parentWidget, <String> tagName)

Method Detail

getFillColor

wtColor getFillColor()

getFillOpacity

Number getFillOpacity()

getStrokeColor

wtColor; getStrokeColor()

getStrokeOpacity

Number getStrokeOpacity()

getStrokeWidth

Number getStrokeWidth()

isVisible

Boolean isVisible()

removeSelf

void removeSelf()

setColor

void setColor(fillColor, strokeColor)

setFillColor

void setFillColor(<wtColor|String> color)

setFillOpacity

void setFillOpacity(<Number> alpha)

setOpacity

void setOpacity(<Number> alpha)

setStrokeColor

void setStrokeColor(<wtColor|String> color)

setStrokeOpacity

void setStrokeOpacity(<Number> alpha)

setStrokeWidth

void setStrokeWidth(<Number> strokeWidth)

setVisible

void setVisible(<Boolean> yes)

WT Toolkit 0.3.3

Documentation generated by JSDoc on Sun May 13 11:26:24 2007