类 PolygonBreak
- java.lang.Object
-
- org.meteoinfo.geometry.legend.ColorBreak
-
- org.meteoinfo.geometry.legend.PolygonBreak
-
- 直接已知子类:
ArrowPolygonBreak,BarBreak
public class PolygonBreak extends ColorBreak
Polygon break class- 作者:
- Yaqiang Wang
-
-
字段概要
字段 修饰符和类型 字段 说明 protected ColorbackColorprotected booleandrawFillprotected booleandrawOutlineprotected booleanisMaskoutprotected ColoroutlineColorprotected floatoutlineSizeprotected HatchStylestyleprotected floatstyleLineWidthprotected intstyleSize-
从类继承的字段 org.meteoinfo.geometry.legend.ColorBreak
breakType, caption, color, drawShape, endValue, isNoData, startValue, tag
-
-
构造器概要
构造器 构造器 说明 PolygonBreak()Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Objectclone()CloenColorgetBackColor()Get background colorColorgetOutlineColor()Get outline colorfloatgetOutlineSize()Get outline sizeObjectgetPropertyObject()Get property objectHatchStylegetStyle()Get hatch stylefloatgetStyleLineWidth()Get hatch style line widthintgetStyleSize()Get style sizebooleanisDrawFill()Get if draw fillbooleanisDrawOutline()Get if draw outlinebooleanisMaskout()Get if maskoutbooleanisUsingHatchStyle()Get if using hatch stylevoidsetBackColor(Color c)Set background colorvoidsetDrawFill(boolean isTrue)Set if draw fillvoidsetDrawOutline(boolean isTrue)Set if draw outlinevoidsetMaskout(boolean isTrue)Set if maskoutvoidsetOutlineColor(Color c)Set outline colorvoidsetOutlineSize(float size)Set outline sizevoidsetStyle(String value)Set hatch style by a stringvoidsetStyle(HatchStyle value)Set hatch stylevoidsetStyleLineWidth(float value)Set hatch style line widthvoidsetStyleSize(int value)Set style size-
从类继承的方法 org.meteoinfo.geometry.legend.ColorBreak
exportToXML, getBreakType, getCaption, getColor, getEndValue, getStartValue, getTag, getValueString, isDrawShape, isNoData, setBreakType, setCaption, setColor, setDrawShape, setEndValue, setNoData, setStartValue, setTag
-
-
-
-
字段详细资料
-
outlineColor
protected Color outlineColor
-
outlineSize
protected float outlineSize
-
drawOutline
protected boolean drawOutline
-
drawFill
protected boolean drawFill
-
style
protected HatchStyle style
-
styleSize
protected int styleSize
-
styleLineWidth
protected float styleLineWidth
-
backColor
protected Color backColor
-
isMaskout
protected boolean isMaskout
-
-
方法详细资料
-
getOutlineColor
public Color getOutlineColor()
Get outline color- 返回:
- Outline color
-
setOutlineColor
public void setOutlineColor(Color c)
Set outline color- 参数:
c- Outline color
-
getOutlineSize
public float getOutlineSize()
Get outline size- 返回:
- Outline size
-
setOutlineSize
public void setOutlineSize(float size)
Set outline size- 参数:
size- Outline size
-
isDrawOutline
public boolean isDrawOutline()
Get if draw outline- 返回:
- Boolean
-
setDrawOutline
public void setDrawOutline(boolean isTrue)
Set if draw outline- 参数:
isTrue- Boolean
-
isDrawFill
public boolean isDrawFill()
Get if draw fill- 返回:
- Boolean
-
setDrawFill
public void setDrawFill(boolean isTrue)
Set if draw fill- 参数:
isTrue- Boolean
-
getBackColor
public Color getBackColor()
Get background color- 返回:
- Background color
-
setBackColor
public void setBackColor(Color c)
Set background color- 参数:
c- Background color
-
isUsingHatchStyle
public boolean isUsingHatchStyle()
Get if using hatch style- 返回:
- Boolean
-
getStyle
public HatchStyle getStyle()
Get hatch style- 返回:
- Hatch style
-
setStyle
public void setStyle(HatchStyle value)
Set hatch style- 参数:
value- Hatch style
-
setStyle
public void setStyle(String value)
Set hatch style by a string- 参数:
value- Hatch style string
-
getStyleSize
public int getStyleSize()
Get style size- 返回:
- Style size
-
setStyleSize
public void setStyleSize(int value)
Set style size- 参数:
value- Style size
-
getStyleLineWidth
public float getStyleLineWidth()
Get hatch style line width- 返回:
- Hatch style line width
-
setStyleLineWidth
public void setStyleLineWidth(float value)
Set hatch style line width- 参数:
value- Hatch style line width
-
isMaskout
public boolean isMaskout()
Get if maskout- 返回:
- Boolean
-
setMaskout
public void setMaskout(boolean isTrue)
Set if maskout- 参数:
isTrue- Boolean
-
getPropertyObject
public Object getPropertyObject()
Get property object- 覆盖:
getPropertyObject在类中ColorBreak- 返回:
- Custom property object
-
clone
public Object clone()
Cloen- 覆盖:
clone在类中ColorBreak- 返回:
- PolygonBreak
-
-