|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.base.drawing.StiBrush
com.stimulsoft.base.drawing.StiGlareBrush
public class StiGlareBrush
Class describes a glare gradient brush.
Field Summary | |
---|---|
double |
angle
|
Constructor Summary | |
---|---|
StiGlareBrush()
Creates a new instance of the StiGlareBrush class. |
|
StiGlareBrush(StiColor startColor,
StiColor endColor,
double angle)
Creates a new instance of the StiGlareBrush class. |
|
StiGlareBrush(StiColor startColor,
StiColor endColor,
double angle,
float focus,
float scale)
Creates a new instance of the StiGlareBrush class. |
Method Summary | |
---|---|
void |
deserialize(java.lang.String value)
Десериализация объекта из строки. |
boolean |
equals(java.lang.Object obj)
|
double |
getAngle()
Gets or sets the angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line. |
StiColor |
getEndColor()
Gets or sets the ending color for the gradient. |
float |
getFocus()
Gets or sets value from 0 through 1 that specifies the center of the gradient (the point where the gradient is composed of only the ending color). |
java.awt.Paint |
getPaint()
|
StiRectangle |
getRectangle()
|
float |
getScale()
Gets or sets value from 0 through 1 that specifies how fast the colors falloff from the focus. |
StiColor |
getStartColor()
Gets or sets the starting color for the gradient. |
int |
hashCode()
|
void |
LoadValuesFromJson(JSONObject jObject)
|
java.lang.String |
serialize()
Сериализация объекта в строку. |
void |
setAngle(double value)
|
void |
setEndColor(StiColor value)
|
void |
setFocus(float value)
|
void |
setRectangle(StiRectangle rectangle)
|
void |
setScale(float value)
|
void |
setStartColor(StiColor value)
|
Methods inherited from class com.stimulsoft.base.drawing.StiBrush |
---|
clone, dispose, getBrush, getInvalidator, getReference, invalidate, LoadFromJson, setInvalidator, setReference, ToColor |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double angle
Constructor Detail |
---|
public StiGlareBrush()
public StiGlareBrush(StiColor startColor, StiColor endColor, double angle)
startColor
- the starting color for the gradient.endColor
- The ending color for the gradient.angle
- The angle, measured in degrees clockwise from the x-axis, of the gradient's
orientation line.public StiGlareBrush(StiColor startColor, StiColor endColor, double angle, float focus, float scale)
startColor
- the starting color for the gradient.endColor
- The ending color for the gradient.angle
- The angle, measured in degrees clockwise from the x-axis, of the gradient's
orientation line.focus
- The value from 0 through 1 that specifies the center of the gradient (the point
where the gradient is composed of only the ending color).scale
- The value from 0 through 1 that specifies how fast the colors falloff from the
focus.Method Detail |
---|
public java.lang.String serialize()
IStiSerializableToString
public void deserialize(java.lang.String value)
IStiSerializableToString
public final StiColor getStartColor()
public final void setStartColor(StiColor value)
public final StiColor getEndColor()
public final void setEndColor(StiColor value)
public final double getAngle()
public final void setAngle(double value)
public final float getFocus()
public final void setFocus(float value)
public java.awt.Paint getPaint()
public final float getScale()
public final void setScale(float value)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public StiRectangle getRectangle()
public void setRectangle(StiRectangle rectangle)
rectangle
- the rectangle to setpublic void LoadValuesFromJson(JSONObject jObject) throws JSONException
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |