Module flower.DrawableRect

Class to fill a rectangle.

NOTE: This uses immediate mode drawing and so has a high performance impact when used on mobile devices. You may wish to use a 1-pixel high Image instead if you wish to minimize draw calls.

Extends:

Info:

  • Release: V3.0.0
  • Author: Makoto

Functions

DrawableRect:onDraw (index, xOff, yOff, xFlip, yFlip) This is the function called when drawing.


Functions

DrawableRect:onDraw (index, xOff, yOff, xFlip, yFlip)
This is the function called when drawing.

Parameters:

  • index index of DrawCallback.
  • xOff xOff of DrawCallback.
  • yOff yOff of DrawCallback.
  • xFlip xFlip of DrawCallback.
  • yFlip yFlip of the Prop.
generated by LDoc 1.3