Quad

Some description of the Quad-class

Constructor / Destructor

  • Quad(layer, x=0, y=0, w=100, h=100)
  • Delete()

    Deletes the quad.

Members

  • SetPosition(x, y)

    Sets the position for the quad.

  • SetSize(w, h)

    Sets the size for the quad.

  • SetImage(texture)

    Sets the image for the quad.

  • SetColor(r, g, b, a)

    Sets the color for the quad.

Example usage