Package com.stimulsoft.base.drawing
Class StiSolidBrush
java.lang.Object
com.stimulsoft.base.drawing.StiBrush
com.stimulsoft.base.drawing.StiSolidBrush
- All Implemented Interfaces:
IStiInvalidator,IStiSerializable,IStiSerializableToString,Cloneable
Class describes SolidBrush.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of the StiSolidBrush class.StiSolidBrush(StiColor color) Creates a new instance of the StiSolidBrush class.StiSolidBrush(StiColorEnum color) StiSolidBrush(String colorHtml) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(String value) booleanfinal StiColorgetColor()Gets or sets the color of this StiSolidBrush object.inthashCode()voidLoadValuesFromJson(JSONObject jObject) final voidMethods inherited from class com.stimulsoft.base.drawing.StiBrush
clone, dispose, getBrush, getInvalidator, getReference, invalidate, light, LoadFromJson, setInvalidator, setReference, ToColor
-
Field Details
-
TRANSPARENT
-
-
Constructor Details
-
StiSolidBrush
public StiSolidBrush()Creates a new instance of the StiSolidBrush class. -
StiSolidBrush
Creates a new instance of the StiSolidBrush class.- Parameters:
color- The color of this StiSolidBrush object.
-
StiSolidBrush
-
StiSolidBrush
-
-
Method Details
-
getColor
Gets or sets the color of this StiSolidBrush object. -
setColor
-
hashCode
public int hashCode() -
equals
-
serialize
-
deserialize
-
LoadValuesFromJson
- Throws:
JSONException
-