Package com.stimulsoft.base.drawing
Class StiLinearGradientBrush
java.lang.Object
com.stimulsoft.base.drawing.StiBrush
com.stimulsoft.base.drawing.StiLinearGradientBrush
- All Implemented Interfaces:
IStiInvalidator,IStiSerializable,IStiSerializableToString,Cloneable
Copyright Stimulsoft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(String strObject) doublegetAngle()StiColor[]getIdent()double[]voidLoadValuesFromJson(JSONObject jObject) voidsetAngle(double angle) voidvoidsetPositions(double[] positions) Methods inherited from class com.stimulsoft.base.drawing.StiBrush
clone, dispose, getBrush, getInvalidator, getReference, invalidate, light, LoadFromJson, setInvalidator, setReference, ToColor
-
Constructor Details
-
StiLinearGradientBrush
public StiLinearGradientBrush() -
StiLinearGradientBrush
-
-
Method Details
-
getColors
-
setColors
-
getPositions
public double[] getPositions() -
setPositions
public void setPositions(double[] positions) -
getAngle
public double getAngle() -
setAngle
public void setAngle(double angle) -
LoadValuesFromJson
- Throws:
JSONException
-
getIdent
-
serialize
-
deserialize
-