public class StiGlassBrush extends StiBrush
| Constructor and Description |
|---|
StiGlassBrush()
Creates a new instance of the StiGlassBrush class.
|
StiGlassBrush(StiColor color,
boolean drawHatch,
float blend)
Creates a new instance of the StiGlassBrush class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(java.lang.String value)
Десериализация объекта из строки.
|
boolean |
equals(java.lang.Object obj) |
float |
getBlend()
Gets or sets blend factor.
|
StiBrush |
getBottomBrush() |
StiColor |
getBottomColor() |
StiColor |
getBottomColorLight() |
StiRectangle |
getBottomRectangle(StiRectangle rect) |
StiColor |
getColor()
Gets or sets the color of this StiGlassBrush object.
|
boolean |
getDrawHatch()
Gets or sets value which indicates draw hatch at background or not.
|
StiBrush |
getTopBrush() |
StiColor |
getTopColor() |
StiColor |
getTopColorLight() |
StiRectangle |
getTopRectangle(StiRectangle rect) |
int |
hashCode() |
void |
LoadValuesFromJson(JSONObject jObject) |
java.lang.String |
serialize()
Сериализация объекта в строку.
|
void |
setBlend(float blend) |
void |
setColor(StiColor value) |
void |
setDrawHatch(boolean value) |
clone, dispose, getBrush, getInvalidator, getReference, invalidate, LoadFromJson, setInvalidator, setReference, ToColorpublic StiGlassBrush()
public StiGlassBrush(StiColor color, boolean drawHatch, float blend)
Color - The color of this StiGlassBrush object.public final StiColor getColor()
public final void setColor(StiColor value)
public java.lang.String serialize()
IStiSerializableToStringpublic void deserialize(java.lang.String value)
IStiSerializableToStringpublic boolean getDrawHatch()
public void setDrawHatch(boolean value)
public float getBlend()
public void setBlend(float blend)
blend - the blend to setpublic StiRectangle getTopRectangle(StiRectangle rect)
public StiRectangle getBottomRectangle(StiRectangle rect)
public final StiColor getTopColor()
public final StiColor getTopColorLight()
public final StiColor getBottomColor()
public final StiColor getBottomColorLight()
public final StiBrush getTopBrush()
public final StiBrush getBottomBrush()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void LoadValuesFromJson(JSONObject jObject) throws JSONException
JSONExceptionCopyright © 2020 Stimulsoft. All Rights Reserved.