|
|||||||||
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.TextMarkerSymbol
public class TextMarkerSymbol
Adds Static text to an acetate layer.
Field Summary | |
---|---|
static String |
ALLLOWER
|
static String |
ALLUPPER
|
static String |
BOLD
|
static String |
BOLDITALIC
|
static String |
CENTER
|
static String |
ITALIC
|
static String |
LEFT
|
static String |
NONE
|
static String |
OUTLINE
|
static String |
REGULAR
|
static String |
RIGHT
|
static String |
TITLECAPS
|
static String |
UNDERLINE
|
Constructor Summary | |
---|---|
TextMarkerSymbol()
|
Method Summary | |
---|---|
double |
getAngle()
Returns the TextMarkerSymbol's angle value. |
String |
getBlockout()
Returns the TextMarkerSymbols blockout value. |
String |
getFont()
Returns the TextMarkerSymbol's font value. |
String |
getFontColor()
Returns the TextMarkerSymbol's font color value. |
long |
getFontSize()
Returns the TextMarkerSymbol's fontsize value. |
String |
getFontStyle()
Returns the TextMarkerSymbol's font style value. |
String |
getGlowing()
Returns the TextMarkerSymbol's glowing value. |
String |
getHAlignment()
Returns the TextMarkerSymbol's horizontal alignment value. |
long |
getInterval()
Returns the TextMarkerSymbol's interval value. |
String |
getOutline()
Returns the TextMarkerSymbol's outline value. |
String |
getPrintMode()
Returns the TextMarkerSymbol's print mode value. |
String |
getShadow()
Returns the TextMarkerSymbol's shadow color value. |
double |
getTransparency()
Returns the TextMarkerSymbol's transparency value. |
String |
getType()
Abstract method returns the type of symbol that the Symbol object represents. |
String |
getVAlignment()
Returns the TextMarkerSymbol's vertical alignment value. |
boolean |
isAntialiasing()
Returns true if the TextMarkerSymbol's transparency value is set to true. |
boolean |
isOverlap()
Returns true if the TextMarkerSymbol's overlap value is set to true. |
void |
setAngle(double value)
Sets the angle of rotation in degrees moving counterclockwise. |
void |
setAntialiasing(boolean value)
Sets the TextMarkerSymbol's antialising value. |
void |
setBlockout(String value)
Sets the TextMarkerSymbol's blockout color value. |
void |
setFont(String value)
Sets the TextMarkerSymbol's font value. |
void |
setFontColor(String value)
Sets the TextMarkerSymbol's font color value. |
void |
setFontSize(long value)
Sets the TextMarkerSymbol's font size value. |
void |
setFontStyle(String value)
Sets the TextMarkerSymbol's fontstyle value. |
void |
setGlowing(String value)
Sets the TextMarkerSymbol's glowing color value. |
void |
setHAlignment(String value)
Sets the horizontal alignment of the label when compared to the label point. |
void |
setInterval(long value)
Sets the distance between the point and printed label. |
void |
setOutline(String value)
Sets the TextMarkerSymbol's outline color value. |
void |
setOverlap(boolean value)
Sets the TextMarkerSymbol's overlap, which determines if labels can overlap this symbol. |
void |
setPrintMode(String value)
Sets the TextMarkerSymbol's print mode. |
void |
setShadow(String shadow)
Sets the shadow color using RGB values for this symbol. |
void |
setTransparency(double value)
Sets the percentage of transparency for this TextMarkerSymbol. |
void |
setVAlignment(String value)
Sets the vertical alignment of the label when compared to the label point. |
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 LEFT
public static final String CENTER
public static final String RIGHT
public static final String TITLECAPS
public static final String ALLUPPER
public static final String ALLLOWER
public static final String NONE
Constructor Detail |
---|
public TextMarkerSymbol()
Method Detail |
---|
public String getType()
Symbol
getType
in class Symbol
public double getTransparency()
double transparency = textMarker.getTransparency();
setTransparency(double)
public boolean isAntialiasing()
if(textMarker.isAntialiasing() == true){
textMarker.setAntialiasing(false);
}
setAntialiasing(boolean)
public boolean isOverlap()
if(textMarker.isOverlap() == true){
textMarker.setOverlap(false);
}
setOverlap(boolean)
public String getFont()
String font = textMarker.getFont();
setFont(java.lang.String)
public long getFontSize()
long fontSize = textMarker.getFontSize();
setFontSize(long)
public String getFontColor()
String fontColor = textMarker.getFontColor();
setFontColor(java.lang.String)
public String getOutline()
String outline = textMarker.getOutline();
setOutline(java.lang.String)
public String getGlowing()
String glowing = textMarker.getGlowing();
setGlowing(java.lang.String)
public String getBlockout()
String blockout = textMarker.getBlockOut();
setBlockout(java.lang.String)
public long getInterval()
long interval = textMarker.getInterval();
setInterval(long)
public double getAngle()
double angle = textMarker.getAngle();
setAngle(double)
public String getHAlignment()
String halign = textMarker.getHAlignment();
setHAlignment(java.lang.String)
public String getVAlignment()
String valign = textMarker.getVAlignment();
setVAlignment(java.lang.String)
public String getPrintMode()
String printMode = textMarker.getPrintMode();
setPrintMode(java.lang.String)
public String getFontStyle()
String style = textMarker.getFontStyle();
setFontStyle(java.lang.String)
public String getShadow()
public void setTransparency(double value)
textMarker.setTransparency(1.0);
value
- the transparency value. 1.0 is 0 percent transparent.
0.0 is 100 percent transparent.getTransparency()
public void setAntialiasing(boolean value)
textmarker.setAntialiasing(true);
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)
textMarker.setFont("arial");
value
- the font value.getFont()
public void setFontSize(long value)
textMarker.setFontSize(10);
value
- the font size value.getFontSize()
public void setFontStyle(String value)
textMarker.setFontStyle("BOLD");
value
- the font style value.getFontStyle()
public void setInterval(long value)
textMarker.setInterval(5);
value
- the interval value.getInterval()
public void setAngle(double value)
textMarker.setAngle(125.0);
value
- the angle of rotation.getAngle()
public void setFontColor(String value)
textMarker.setFontColor("255,0,0");
value
- the font color value.getFontColor()
public void setOutline(String value)
textMarker.setOutline("100,0,0");
value
- the outline color value.getOutline()
public void setGlowing(String value)
textMarker.setGlowing("50,0,0");
value
- the glowing color value.getGlowing()
public void setBlockout(String value)
textMarker.setBlockout("100,0,0");
value
- the blockout color value.getBlockout()
public void setPrintMode(String value)
textMarker.setPrintMode("titlecaps");
value
- defines how labels are printed - 'none', or 'lllower', 'allupper', or 'titlecase'.
For example if 'none' is used, no change is made to the label: Welcome to ArcIMS.getPrintMode()
public void setHAlignment(String value)
textMarker.setHAlignment("left");
value
- horizontal alignment of the label.getHAlignment()
public void setVAlignment(String value)
textMarker.setVAlignment("top");
value
- the vertical alignment of the label.getVAlignment()
public void setOverlap(boolean value)
textMarker.setOverlap(false);
value
- the overlap - True or False.isOverlap()
public void setShadow(String shadow)
shadow
- the shadow color
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |