lime.math

..
ARGB

A utility for storing, accessing and converting colors in an ARGB (alpha, red, green, blue) color format.

BGRA

A utility for storing, accessing and converting colors in a BGRA (blue, green, red, alpha) color format.

CairoMatrix3

An object with the same data as a Matrix3, in Cairo's expected format.

ColorMatrix

ColorMatrix is a 4x5 matrix containing color multiplication and offset values for tinting and other kinds of color manipulation. In addition to using the multiplier, offset and color properties, it can be edited directly as a Float32Array

Matrix3

Matrix3 is a 3x3 transformation matrix particularly useful for two-dimensional transformation. It can be used for rotation, scale and skewing of a two-dimensional object.

Matrix4

Matrix4 is a 4x4 matrix, useful for 3D calculations

RGBA

A utility for storing, accessing and converting colors in an RGBA (red, green, blue, alpha) color format.

Rectangle

The Rectangle class provides a simple object for storing and manipulating a logical rectangle for calculations

Vector2

The Vector2 class can be used for calculating math with basic (x, y) coordinates

Vector4

Vector4 is a vector suitable for three-dimensional math, containing (x, y, z, w) components