Class Y2DCanvasUI2
Defined in: Y2DCanvasUI2.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Y2DCanvasUI2(canvas)
canvas user interface.
|
Method Attributes | Method Name and Description |
---|---|
addStyle(name, styleObj)
|
|
clear()
|
|
flush()
|
|
path(vList)
|
|
rect(vxy, vwh, styleName)
|
|
setStyle(name)
|
|
strip(vList, styleName)
|
|
text(text, vxy, styleName)
|
Method Detail
addStyle(name, styleObj)
- Parameters:
- name
- styleObj
clear()
flush()
path(vList)
- Parameters:
- vList
rect(vxy, vwh, styleName)
- Parameters:
- vxy
- vwh
- styleName
setStyle(name)
- Parameters:
- name
strip(vList, styleName)
- Parameters:
- vList
- styleName
text(text, vxy, styleName)
- Parameters:
- text
- vxy
- styleName