|
TinyLine 2.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tinyline.tiny2d.TinyColor
public class TinyColor
The TinyColor class defines colors in the ARGB color space.
| Field Summary | |
|---|---|
static TinyColor |
CURRENT
Special TinyColor object that says to use the current color value. |
static TinyColor |
INHERIT
Special TinyColor object that says to take the same value as the property for the nodes parent. |
static TinyColor |
NONE
Special TinyColor object that says do not fill or stroke. |
TinyPaint |
paint
The paint server. |
int |
value
The ARGB value of the solid color |
| Constructor Summary | |
|---|---|
TinyColor(int argb)
Creates a solid TinyColor with the specified combined ARGB value consisting of the alpha component in bits 24-31, the red component in bits 16-23, the green component in bits 8-15, and the blue component in bits 0-7. |
|
TinyColor(TinyPaint p)
Creates a new complex TinyColor using the given paint server |
|
| Method Summary | |
|---|---|
static TinyColor |
copy(TinyColor src)
Creates a new copy of the given 'source' TinyColor. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final TinyColor CURRENT
public static final TinyColor INHERIT
public static final TinyColor NONE
public TinyPaint paint
public int value
| Constructor Detail |
|---|
public TinyColor(int argb)
argb - the ARGB value.public TinyColor(TinyPaint p)
p - the paint server.| Method Detail |
|---|
public static TinyColor copy(TinyColor src)
|
TinyLine 2.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||