Package com.stimulsoft.base.drawing
Class StiGlassBrush
java.lang.Object
com.stimulsoft.base.drawing.StiBrush
com.stimulsoft.base.drawing.StiGlassBrush
- All Implemented Interfaces:
IStiInvalidator,IStiSerializable,IStiSerializableToString,Cloneable
Class describes GlassBrush.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of the StiGlassBrush class.StiGlassBrush(StiColor color, boolean drawHatch, float blend) Creates a new instance of the StiGlassBrush class. -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(String value) booleanfloatgetBlend()Gets or sets blend factor.final StiBrushfinal StiColorfinal StiColorfinal StiColorgetColor()Gets or sets the color of this StiGlassBrush object.booleanGets or sets value which indicates draw hatch at background or not.final StiBrushfinal StiColorfinal StiColorgetTopRectangle(StiRectangle rect) inthashCode()voidLoadValuesFromJson(JSONObject jObject) voidsetBlend(float blend) final voidvoidsetDrawHatch(boolean value) Methods inherited from class com.stimulsoft.base.drawing.StiBrush
clone, dispose, getBrush, getInvalidator, getReference, invalidate, light, LoadFromJson, setInvalidator, setReference, ToColor
-
Constructor Details
-
StiGlassBrush
public StiGlassBrush()Creates a new instance of the StiGlassBrush class. -
StiGlassBrush
Creates a new instance of the StiGlassBrush class.- Parameters:
Color- The color of this StiGlassBrush object.
-
-
Method Details
-
getColor
Gets or sets the color of this StiGlassBrush object. -
setColor
-
serialize
-
deserialize
-
getDrawHatch
public boolean getDrawHatch()Gets or sets value which indicates draw hatch at background or not. -
setDrawHatch
public void setDrawHatch(boolean value) -
getBlend
public float getBlend()Gets or sets blend factor. -
setBlend
public void setBlend(float blend) - Parameters:
blend- the blend to set
-
getTopRectangle
-
getBottomRectangle
-
getTopColor
-
getTopColorLight
-
getBottomColor
-
getBottomColorLight
-
getTopBrush
-
getBottomBrush
-
hashCode
public int hashCode() -
equals
-
LoadValuesFromJson
- Throws:
JSONException
-