|
||||||||||
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.StiGradientBrush
public class StiGradientBrush
Class describes a gradient brush.
Field Summary | |
---|---|
double |
angle
|
Constructor Summary | |
---|---|
StiGradientBrush()
Creates a new instance of the StiGradientBrush class. |
|
StiGradientBrush(StiColor startColor,
StiColor endColor,
double angle)
Creates a new instance of the StiGradientBrush 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. |
java.awt.geom.Point2D |
getEndGradiendPoint()
|
java.awt.Paint |
getPaint()
|
StiRectangle |
getRectangle()
|
StiColor |
getStartColor()
Gets or sets the starting color for the gradient. |
java.awt.geom.Point2D |
getStartGradiendPoint()
|
int |
hashCode()
|
void |
LoadValuesFromJson(JSONObject jObject)
|
java.lang.String |
serialize()
Сериализация объекта в строку. |
void |
setAngle(double value)
|
void |
setEndColor(StiColor value)
|
void |
setEndGradiendPoint(java.awt.geom.Point2D endGradiendPoint)
|
void |
setRectangle(StiRectangle rectangle)
|
void |
setStartColor(StiColor value)
|
void |
setStartGradiendPoint(java.awt.geom.Point2D startGradiendPoint)
|
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 StiGradientBrush()
public StiGradientBrush(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.Method Detail |
---|
public final StiColor getStartColor()
public java.lang.String serialize()
IStiSerializableToString
public void deserialize(java.lang.String value)
IStiSerializableToString
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.awt.Paint getPaint()
public StiRectangle getRectangle()
public void setRectangle(StiRectangle rectangle)
rectangle
- the rectangle to setpublic java.awt.geom.Point2D getStartGradiendPoint()
public void setStartGradiendPoint(java.awt.geom.Point2D startGradiendPoint)
startGradiendPoint
- the startGradiendPoint to setpublic java.awt.geom.Point2D getEndGradiendPoint()
public void setEndGradiendPoint(java.awt.geom.Point2D endGradiendPoint)
endGradiendPoint
- the endGradiendPoint 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 |