If errors and warnings should be logged within the library.
The method used by behaviors to fetch textures. Defaults to Texture.from.
Combines separate color components (0-255) into a single uint color.
The red value of the color
The green value of the color
The blue value of the color
The color in the form of 0xRRGGBB
Converts a list of {value, time} objects starting at time 0 and ending at time 1 into an evenly spaced stepped list of PropertyNodes for color values. This is primarily to handle conversion of linear gradients to fewer colors, allowing for some optimization for Canvas2d fallbacks.
The list of data to convert.
The blend mode as specified in the PIXI.blendModes enumeration.
Generates a custom ease function, based on the GreenSock custom ease, as demonstrated by the related tool at http://www.greensock.com/customease/.
An array of segments, as created by http://www.greensock.com/customease/.
A function that calculates the percentage of change at a given point in time (0-1 inclusive).
Gets a blend mode, ensuring that it is valid.
The name of the blend mode to get.
The blend mode as specified in the PIXI.BLEND_MODES enumeration.
Converts a hex string from "#AARRGGBB", "#RRGGBB", "0xAARRGGBB", "0xRRGGBB", "AARRGGBB", or "RRGGBB" to an object of ints of 0-255, as {r, g, b, (a)}.
The input color string.
An object to put the output in. If omitted, a new object is created.
The object with r, g, and b properties, possibly with an a property.
Returns the length (or magnitude) of this point.
The point to measure length
The length of this point.
Reduces the point to a length of 1.
The point to normalize
Rotates a point by a given angle.
The angle to rotate by in radians
The point to rotate around 0,0.
Multiplies the x and y values of this point by a value.
The point to scaleBy
The value to scale by.
Generated using TypeDoc
The basic easing function used. Takes in a value between 0-1, and outputs another value between 0-1. For example, a basic quadratic in ease would be
(time) => time * time