new lime.fill.Fill()
Abstract class for adding textures to sprites
- Source:
- fill/fill.js, line 10
Extends
- goog.events.EventTarget
Summary
Members |
||
---|---|---|
initForSprite
Initialize connection between fill and a sprite.
No drawing is performed here but common setup is done.
|
||
setCanvasStyle
Set color as Canvas fillStyle.
|
||
setDOMStyle
Set color as a DOM style for dom element.
|
Members
-
initForSprite
-
Initialize connection between fill and a sprite. No drawing is performed here but common setup is done.
- Source:
- fill/fill.js, line 21
-
setCanvasStyle
-
Set color as Canvas fillStyle.
- Source:
- fill/fill.js, line 58
-
setDOMStyle
-
Set color as a DOM style for dom element.
- Source:
- fill/fill.js, line 50