Field Summary |
public static
| degToRad |
| constant conversion factor
|
|
Method Summary |
public static
| brighterColor (
clr: Number, intensity: Number
): Number |
| create a bright shade of a color
|
|
public static
| darkerColor (
clr: Number, intensity: Number
): Number |
| create a darker shade of a color
|
|
public static
| distance (
x: Number, y: Number
) |
| calculate the distance of a point from the origin
|
|
public static
| formatPercent (
r: Number, dp: Number
) |
| format a number as paercentage
|
|
public static
| getColor (
r: Number, g: Number, b: Number
) |
| combine RGB values into hex color number
|
|
public static
| getPoint (
angle, radius
) |
| calculate the coordinates of a point on a circle
|
|
public static
| getRGB (
clr: Number
): Object |
| split a hex color number into its RGB values
|
|
public static
| replace (
tgt, find, replace
) |
|
|
|
|