|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arctorus.documents.Gradient
com.arctorus.documents.GradientFromCenter
public final class GradientFromCenter
Gradient from a shape center.
Method Summary | |
---|---|
static GradientFromCenter |
createRadialGradient()
Create and return radial gradient. |
static GradientFromCenter |
createRectangularGradient()
Create and return rectangular gradient. |
float |
getX()
Return X coordinate of a gradient focus. |
float |
getY()
Return Y coordinate of a gradient focus. |
void |
setX(float x)
Set X coordinate of a gradient focus. |
void |
setY(float y)
Set Y coordinate of a gradient focus. |
Methods inherited from class com.arctorus.documents.Gradient |
---|
getEndColor, getEndColorStop, getStartColor, getStartColorStop, getType, isRotate, setEndColor, setEndColorStop, setRotate, setStartColor, setStartColorStop |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final GradientFromCenter createRadialGradient()
public static final GradientFromCenter createRectangularGradient()
public float getX()
public void setX(float x)
x
- new X coordinate. Must be in the range [0..1].public float getY()
public void setY(float y)
y
- new Y coordinate. Must be in the range [0..1].
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |