Class StiGlassBrush

java.lang.Object
com.stimulsoft.base.drawing.StiBrush
com.stimulsoft.base.drawing.StiGlassBrush
All Implemented Interfaces:
IStiInvalidator, IStiSerializable, IStiSerializableToString, Cloneable

public class StiGlassBrush extends StiBrush
Class describes GlassBrush.
  • Constructor Details

    • StiGlassBrush

      public StiGlassBrush()
      Creates a new instance of the StiGlassBrush class.
    • StiGlassBrush

      public StiGlassBrush(StiColor color, boolean drawHatch, float blend)
      Creates a new instance of the StiGlassBrush class.
      Parameters:
      Color - The color of this StiGlassBrush object.
  • Method Details

    • getColor

      public final StiColor getColor()
      Gets or sets the color of this StiGlassBrush object.
    • setColor

      public final void setColor(StiColor value)
    • serialize

      public String serialize()
    • deserialize

      public void deserialize(String value)
    • 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

      public StiRectangle getTopRectangle(StiRectangle rect)
    • getBottomRectangle

      public StiRectangle getBottomRectangle(StiRectangle rect)
    • getTopColor

      public final StiColor getTopColor()
    • getTopColorLight

      public final StiColor getTopColorLight()
    • getBottomColor

      public final StiColor getBottomColor()
    • getBottomColorLight

      public final StiColor getBottomColorLight()
    • getTopBrush

      public final StiBrush getTopBrush()
    • getBottomBrush

      public final StiBrush getBottomBrush()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • LoadValuesFromJson

      public void LoadValuesFromJson(JSONObject jObject) throws JSONException
      Throws:
      JSONException