|
|||||||||
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.RasterShieldSymbol
public class RasterShieldSymbol
This object is a user-specified image and is used as a custom shield to identify roads or other line features. The RasterShieldSymbol extends the Symbol object.
Field Summary | |
---|---|
static String |
ALLLOWER
|
static String |
ALLUPPER
|
static String |
BOLD
|
static String |
BOLDITALIC
|
static String |
FULL
|
static String |
ITALIC
|
static String |
NONE
|
static String |
NUMERICONLY
|
static String |
OUTLINE
|
static String |
REGULAR
|
static String |
TITLECAPS
|
static String |
UNDERLINE
|
Constructor Summary | |
---|---|
RasterShieldSymbol()
Constructs an instance of a RasterShieldSymbol object. |
Method Summary | |
---|---|
String |
getFont()
Returns the RasterShieldSymbol's font value. |
String |
getFontColor()
Returns the RasterShieldSymbol's font color value. |
long |
getFontSize()
Returns the RasterShieldSymbol's fontsize value. |
String |
getFontStyle()
Returns the RasterShieldSymbols font style value. |
String |
getImage()
Returns the RasterShieldSymbol's image value. |
String |
getLabelMode()
Returns the RasterShieldSymbol's label mode value. |
String |
getPrintMode()
Returns the RasterShieldSymbol's print mode value. |
String |
getShadow()
Returns the RasterShieldSymbol's shadow color value. |
String |
getTextPosition()
Returns the RasterShieldSymbol's text position value. |
double |
getTransparency()
Returns the RasterShieldSymbol's transparency value. |
String |
getType()
Returns the type of symbol, "RasterShield". |
String |
getURL()
Returns the RasterShieldSymbol's URL value. |
boolean |
isAntialiasing()
Returns True if RasterShieldSymbol's antialiasing value is set. |
void |
setAntialiasing(boolean value)
Sets the RasterShieldSymbol's antialiasing value. |
void |
setFont(String value)
Sets the RasterShieldSymbol's font value. |
void |
setFontColor(String value)
Sets the RasterShieldSymbol's font color value. |
void |
setFontSize(long value)
Sets the RasterShieldSymbol's fontsize value. |
void |
setFontStyle(String value)
Sets the RasterShieldSymbol's font style value. |
void |
setImage(String value)
Sets the RasterShieldSymbol's image value. |
void |
setLabelMode(String value)
Sets the RasterShieldSymbol's label mode value. |
void |
setPrintMode(String value)
Sets the RasterShieldSymbol's print mode value. |
void |
setShadow(String value)
Sets the RasterShieldSymbol's shadow color value. |
void |
setTextPosition(String value)
Sets the RasterShieldSymbol' text position value. |
void |
setTransparency(double value)
Sets the RasterShieldSymbol's transparency value. |
void |
setURL(String value)
Sets the RasterShieldSymbol's URL 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 FULL
public static final String NUMERICONLY
public static final String TITLECAPS
public static final String ALLUPPER
public static final String ALLLOWER
public static final String NONE
Constructor Detail |
---|
public RasterShieldSymbol()
RasterShieldSymbol rasterShield = new RasterShieldSymbol();
Method Detail |
---|
public String getType()
getType
in class Symbol
public void setTransparency(double value)
rasterShield.setTransparency(1.0);
value
- the transparency value.getTransparency()
public void setAntialiasing(boolean value)
rasterShield.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)
rasterShield.setFont("arial");
value
- the font value.getFont()
public void setFontSize(long value)
rasterShield.setFontSize(15);
value
- the font size value.getFontSize()
public void setFontColor(String value)
rasterShield.setFontColor("255,0,0");
value
- the font color value.getFontColor()
public void setShadow(String value)
rasterShield.setShadow("100,100,100");
value
- the shadow color value.getShadow()
public void setPrintMode(String value)
rasterShield.setPrintMode(rasterShield.ALLLOWER);
value
- the print mode value.getPrintMode()
public void setLabelMode(String value)
rasterShield.setLabelMode(rasterShield.FULL);
value
- the label mode value.getLabelMode()
public void setTextPosition(String value)
rasterShield.setTextPosition("0,0");
value
- the text position value.getTextPosition()
public void setImage(String value)
rasterShield.setImage("C:/ArcIMS/image/shield.jpg");
value
- the image value.getImage()
public void setFontStyle(String value)
rasterShield.setFontStyle(rasterShield.BOLD);
value
- the font style.getFontStyle()
public void setURL(String value)
rasterShield.setURL("http://www.mapper.com/images/shield.jpg");
value
- the url value.getURL()
public double getTransparency()
double transparency = rasterShield.getTransparency();
setTransparency(double)
public boolean isAntialiasing()
if(rasterShield.isAntialiasing() == true){
rasterShield.setAntialiasing(false);
}
setAntialiasing(boolean)
public String getFont()
String font = rasterShield.getFont();
setFont(java.lang.String)
public long getFontSize()
long size = rasterShield.getFontSize();
setFontSize(long)
public String getFontColor()
String color = rasterShield.getFontColor();
setFontColor(java.lang.String)
public String getShadow()
String shadow = rasterShield.getShadow();
setShadow(java.lang.String)
public String getPrintMode()
String printMode = rasterShield.getPrintMode();
setPrintMode(java.lang.String)
public String getLabelMode()
String labelMode = rasterShield.getLabelMode();
setLabelMode(java.lang.String)
public String getTextPosition()
String textPosition = rasterShield.getTextPosition();
setTextPosition(java.lang.String)
public String getImage()
String image = rasterShield.getImage();
setImage(java.lang.String)
public String getFontStyle()
String style = rasterShield.getFontStyle();
setFontStyle(java.lang.String)
public String getURL()
String url = rasterShield.getURL();
setURL(java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |