public class StiHatchBrush extends StiBrush
| Constructor and Description |
|---|
StiHatchBrush()
Creates a new instance of the StiHatchBrush class.
|
StiHatchBrush(StiHatchStyle style,
StiColorEnum foreColor,
StiColorEnum backColor) |
StiHatchBrush(StiHatchStyle style,
StiColor foreColor,
StiColor backColor)
Creates a new instance of the StiHatchBrush class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(java.lang.String value)
Десериализация объекта из строки.
|
boolean |
equals(java.lang.Object obj) |
StiColor |
getBackColor()
Gets the color of spaces between the hatch lines drawn by this StiHatchBrush object.
|
StiColor |
getForeColor()
Gets the color of hatch lines drawn by this StiHatchBrush object.
|
java.awt.Paint |
getPaint() |
StiHatchStyle |
getStyle()
Gets the hatch style of this StiHatchBrush object.
|
int |
hashCode() |
void |
LoadValuesFromJson(JSONObject jObject) |
java.lang.String |
serialize()
Сериализация объекта в строку.
|
void |
setBackColor(StiColor value) |
void |
setForeColor(StiColor value) |
void |
setStyle(StiHatchStyle value) |
clone, dispose, getBrush, getInvalidator, getReference, invalidate, LoadFromJson, setInvalidator, setReference, ToColorpublic StiHatchBrush()
public StiHatchBrush(StiHatchStyle style, StiColor foreColor, StiColor backColor)
style - Hatch style of this StiHatchBrush object.foreColor - The color of hatch lines drawn by this StiHatchBrush object.backColor - The color of spaces between the hatch lines drawn by this StiHatchBrush object.public StiHatchBrush(StiHatchStyle style, StiColorEnum foreColor, StiColorEnum backColor)
public final StiColor getBackColor()
public final void setBackColor(StiColor value)
public java.lang.String serialize()
IStiSerializableToStringpublic void deserialize(java.lang.String value)
IStiSerializableToStringpublic final StiColor getForeColor()
public final void setForeColor(StiColor value)
public final StiHatchStyle getStyle()
public final void setStyle(StiHatchStyle value)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.awt.Paint getPaint()
public void LoadValuesFromJson(JSONObject jObject) throws JSONException
JSONExceptionCopyright © 2020 Stimulsoft. All Rights Reserved.