public class LabelSet extends Object
| 构造器 | 说明 |
|---|---|
LabelSet() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getDecimalDigits() |
Get decimal digits
|
String |
getFieldName() |
Get label field name
|
AlignType |
getLabelAlignType() |
Get label align type
|
Color |
getLabelColor() |
Get label color
|
Font |
getLabelFont() |
Get label font
|
Color |
getShadowColor() |
Get shadow color
|
int |
getXOffset() |
Get x offset
|
int |
getYOffset() |
Get y offset
|
boolean |
isAutoDecimal() |
Get if automatic set decimal digits
|
boolean |
isAvoidCollision() |
Get if avoid collision
|
boolean |
isColorByLegend() |
Get if set color by legend
|
boolean |
isDrawLabels() |
Get if draw labels
|
boolean |
isDrawShadow() |
Get if show shadow
|
boolean |
isDynamicContourLabel() |
Get if using dynamic contour label
|
void |
setAutoDecimal(boolean istrue) |
Set if automatic set decimal digits
|
void |
setAvoidCollision(boolean istrue) |
Set if avoid collision
|
void |
setColorByLegend(boolean istrue) |
Set if set color by legend
|
void |
setDecimalDigits(int value) |
Set decimal digits
|
void |
setDrawLabels(boolean istrue) |
Set if draw labels
|
void |
setDrawShadow(boolean istrue) |
Set if show shadow
|
void |
setDynamicContourLabel(boolean istrue) |
Set if using dynamic contour label
|
void |
setFieldName(String name) |
Set label field name
|
void |
setLabelAlignType(AlignType type) |
Set label align type
|
void |
setLabelColor(Color color) |
Set label color
|
void |
setLabelFont(Font font) |
Set label font
|
void |
setShadowColor(Color color) |
Set shadow color
|
void |
setXOffset(int value) |
Set x offset
|
void |
setYOffset(int value) |
Set y offset
|
public boolean isDrawLabels()
public void setDrawLabels(boolean istrue)
istrue - If draw labelspublic String getFieldName()
public void setFieldName(String name)
name - Label field namepublic Font getLabelFont()
public void setLabelFont(Font font)
font - Label fontpublic Color getLabelColor()
public void setLabelColor(Color color)
color - Label colorpublic boolean isDrawShadow()
public void setDrawShadow(boolean istrue)
istrue - If show shadowpublic Color getShadowColor()
public void setShadowColor(Color color)
color - Shadow colorpublic AlignType getLabelAlignType()
public void setLabelAlignType(AlignType type)
type - Align typepublic int getXOffset()
public void setXOffset(int value)
value - X offsetpublic int getYOffset()
public void setYOffset(int value)
value - Y offsetpublic boolean isAvoidCollision()
public void setAvoidCollision(boolean istrue)
istrue - If avoid collisionpublic boolean isColorByLegend()
public void setColorByLegend(boolean istrue)
istrue - Booleanpublic boolean isDynamicContourLabel()
public void setDynamicContourLabel(boolean istrue)
istrue - Booleanpublic boolean isAutoDecimal()
public void setAutoDecimal(boolean istrue)
istrue - Booleanpublic int getDecimalDigits()
public void setDecimalDigits(int value)
value - Decimal digitsCopyright © 2019. All rights reserved.