mixinafFantomMappy::Renderer

afFantomMappy::Renderer

@Js

drawImage

Source

abstract Void drawImage(Obj gfx, Int imageIndex, Int dstPixX, Int dstPixY, RendererDrawMode drawMode)

Draws an image as given by imageIndex at the given coordinates.

restoreClip

Source

virtual Void restoreClip(Obj gfx)

This is called after a Layer is drawn to restore the clipping region to what it used to be.

setClip

Source

virtual Void setClip(Obj gfx, Rect viewBounds)

This is called just before a Layer is drawn to allow the Renderer to set the desired clipping region.