Class lime.fill.Fill
Defined in: fill.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Abstract class for adding textures to sprites
|
| Field Attributes | Field Name and Description |
|---|---|
|
Initialize connection between fill and a sprite.
|
|
|
Set color as Canvas fillStyle.
|
|
|
Set color as a DOM style for dom element.
|
Field Detail
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.