Class: Fill

lime.fill.Fill

new lime.fill.Fill()

Abstract class for adding textures to sprites
Source:

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:

setCanvasStyle

Set color as Canvas fillStyle.
Source:

setDOMStyle

Set color as a DOM style for dom element.
Source: