pixiflash.utils Class
Utilities for converting
Item Index
Methods
- addImages static
- colorToHex
Methods
addImages
(
static
-
atlas
Convert the loaded texture atlas to images
Parameters:
-
atlas
PIXI.TextureThe atlas to convert images
colorToHex
(
Int
private
-
color
Convert a string color "#ffffff" to int 0xffffff
Parameters:
-
color
String
Returns:
Int:
The hex color