Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

View Project on GitHub Download Pixel.js (v0.9b)

Layer.redraw Property

A boolean value indicating whether or not the layer should be redrawn when the next frame is rendered.

Remarks

If a layer is set as static this flag will be reset to false each time the layer is redrawn. If a layer is not a static layer, this flag will always remain true.

Examples

Supported Platforms

Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.