|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.esri.aims.mtier.model.map.layer.renderer.symbol.Symbol | +--com.esri.aims.mtier.model.map.layer.renderer.symbol.TrueTypeMarkerSymbol
Used to symbolize point features using TrueType symbols.
Field Summary | |
static String |
ARITHMETIC
Defines the method of calculating angles as Arithmetic. |
static String |
BOLD
|
static String |
BOLDITALIC
|
static String |
GEOGRAPHIC
Defines the method of calculating angles as Geographic. |
static String |
ITALIC
|
static String |
MOD_ARITHMETIC
Defines the method of calculating angles as Mod_Arithmetic. |
static String |
OUTLINE
|
static String |
REGULAR
|
static String |
UNDERLINE
|
Constructor Summary | |
TrueTypeMarkerSymbol()
Constructs an instance of TrueTypeMarkerSymbol . |
Method Summary | |
double |
getAngle()
Returns the TrueTypeMarkerSymbol's angle value. |
String |
getAngleField()
Returns the TrueTypeMarkerSymbol's angle field value. |
long |
getCharacter()
Returns the TrueTypeMarkerSymbol's character value. |
String |
getFont()
Returns the TrueTypeMarkerSymbol's font value. |
String |
getFontColor()
Returns the TrueTypeMarkerSymbol's font color value. |
long |
getFontSize()
Returns the TrueTypeMarkerSymbol's font size value. |
String |
getFontStyle()
Returns the TrueTypeMarkerSymbol's font style value. |
String |
getGlowing()
Returns the TrueTypeMarkerSymbol's glowing color value. |
String |
getOutline()
Returns the TrueTypeMarkerSymbol's outline color value. |
String |
getRotateMethod()
Returns the TrueTypeMarkerSymbol's rotate method value. |
String |
getShadow()
Returns the TrueTypeMarkerSymbol's shadow color value. |
double |
getTransparency()
Returns the TrueTypeMarkerSymbol's transparency value. |
String |
getType()
Abstract method returns the type of symbol that the Symbol object represents. |
boolean |
isAntialiasing()
Determines if the TrueTypeMarkerSymbol's antialiasing value is set. |
boolean |
isOverlap()
Determines if the TrueTypeMarkerSymbol's overlap value is set. |
boolean |
isUseCentroid()
Determines if the TrueTypeMarkerSymbol's usecentroid value is set. |
void |
setAngle(double value)
Sets the TrueTypeMarkerSymbol's angle value. |
void |
setAngleField(String value)
Sets the field in the database that contains the angle of rotation for a TrueTypeMarkerSymbol. |
void |
setAntialiasing(boolean value)
Sets the TrueTypeMarkerSymbol's antialiasing value. |
void |
setCharacter(long value)
Sets the TrueTypeMarkerSymbol's character value. |
void |
setFont(String value)
Sets the TrueTypeMarkerSymbol's font value. |
void |
setFontColor(String value)
Sets the TrueTypeMarkerSymbol's font color value. |
void |
setFontSize(long value)
Sets the TrueTypeMarkerSymbol's font size value. |
void |
setFontStyle(String value)
Sets the TrueTypeMarkerSymbol's fontstyle value. |
void |
setGlowing(String color)
Sets the TrueTypeMarkerSymbol's glowing color value. |
void |
setOutline(String value)
Sets the TrueTypeMarkerSymbol's outline color value. |
void |
setOverlap(boolean value)
Sets the TrueTypeMarkerSymbol's overlap value, which determines if labels can overlap this symbol. |
void |
setRotateMethod(String value)
Sets the TrueTypeMarkerSymbol's rotate method value. |
void |
setShadow(String value)
Sets the TrueTypeMarkerSymbol's shadow color value. |
void |
setTransparency(double value)
Sets the percentage of transparency for this TrueTypeMarkerSymbol. |
void |
setUseCentroid(boolean value)
Sets the TrueTypeMarkerSymbol's usecentroid value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String REGULAR
public static final String BOLD
public static final String ITALIC
public static final String UNDERLINE
public static final String OUTLINE
public static final String BOLDITALIC
public static final String GEOGRAPHIC
public static final String ARITHMETIC
public static final String MOD_ARITHMETIC
Constructor Detail |
public TrueTypeMarkerSymbol()
TrueTypeMarkerSymbol
.
TrueTypeMarkerSymbol trueType = new TrueTypeMarkerSymbol();
Method Detail |
public String getType()
Symbol
getType
in class Symbol
public void setTransparency(double value)
trueType.setTransparency(1.0);
value
- the transparency value. 1.0 is 0 percent transparent.
0.0 is 100 percent transparent.getTransparency()
,
getTransparency()
public void setUseCentroid(boolean value)
trueType.setUseCentroid(false);
value
- the boolean value- True or False.isUseCentroid()
public void setAntialiasing(boolean value)
trueType.setAntialiasing(false);
value
- the antialiasing value that is used to make edges of labels
and symbols smoother. When set to True, antialiasing is active.isAntialiasing()
public void setFont(String value)
trueType.setFont("arial");
value
- the font value.getFont()
public void setFontSize(long value)
trueType.setFontSize(15);
value
- the font size value.getFontSize()
public void setFontColor(String value)
trueType.setFontColor("100,0,0");
value
- the font color value.getFontColor()
public void setOutline(String value)
trueType.setOutline("45,0,0");
value
- the outline color value.getOutline()
public void setShadow(String value)
trueType.setShadow("85,0,0");
value
- the shadow color value.getShadow()
public void setAngle(double value)
trueType.setAngle(45.0);
value
- the angle value.getAngle()
public void setCharacter(long value)
trueType.setCharacter(55);
value
- the character value.getCharacter()
public void setFontStyle(String value)
trueType.setFontStyle("BOLD");
value
- the fontstyle value.getFontStyle()
public void setGlowing(String color)
trueType.setGlowing("100,0,0");
color
- the glowing color value.getGlowing()
public void setOverlap(boolean value)
trueType.setOverlap(false);
value
- the overlap value.isOverlap()
public void setRotateMethod(String value)
trueType.setRotateMethod("geographic");
value
- the rotateMethod - geographic, arithmetic, or mod_arithmetic.getRotateMethod()
public void setAngleField(String value)
trueType.setAngleField("rotate");
value
- the angleField value.getAngleField()
public double getTransparency()
double transparency = trueType.getTransparency();
setTransparency(double)
public boolean isUseCentroid()
if(trueType.isUseCentroid() == false){
trueType.setUseCentroid(true);
}
setUseCentroid(boolean)
public boolean isAntialiasing()
if(trueType.isAntialiasing() == false){
trueType.setAntialiasing(true);
setAntialiasing(boolean)
public String getFont()
String font = trueType.getFont();
setFont(java.lang.String)
public long getFontSize()
long fontSize = trueType.getFontSize();
setFontSize(long)
public String getFontColor()
String fontColor = trueType.getFontColor();
setFontColor(java.lang.String)
public String getOutline()
String outline = trueType.getOutline();
setOutline(java.lang.String)
public String getShadow()
String shadow = trueType.getShadow();
setShadow(java.lang.String)
public double getAngle()
double angle = trueType.getAngle();
setAngle(double)
public long getCharacter()
long character = trueType.getCharacter();
setCharacter(long)
public String getFontStyle()
String fontStyle = trueType.getFontStyle();
setFontStyle(java.lang.String)
public String getGlowing()
String glowing = trueType.getGlowing();
setGlowing(java.lang.String)
public boolean isOverlap()
if(trueType.isOverlap() == true){
trueType.setOverlap(false);
}
setOverlap(boolean)
public String getRotateMethod()
String rotateMethod = trueType.getRotateMethod();
setRotateMethod(java.lang.String)
public String getAngleField()
String angleField = trueType.getAngleField();
setAngleField(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |