|
|||||||||
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.SimplePolygonSymbol
public class SimplePolygonSymbol
Represents a symbol for a polygon feature.
Field Summary | |
---|---|
static String |
BDIAGONAL
|
static String |
BEVEL
|
static String |
BUTT
|
static String |
CROSS
|
static String |
DARKGRAY
|
static String |
DASH
|
static String |
DASH_DOT
|
static String |
DASH_DOT_DOT
|
static String |
DIAGCROSS
|
static String |
DOT
|
static String |
FDIAGONAL
|
static String |
GRAY
|
static String |
HORIZONTAL
|
static String |
LIGHTGRAY
|
static String |
MITER
|
static String |
ROUND
|
static String |
SOLID
|
static String |
SQUARE
|
static String |
VERTICAL
|
Constructor Summary | |
---|---|
SimplePolygonSymbol()
Constructs an instance of a SimplePolygonSymbol Object. |
Method Summary | |
---|---|
String |
getBoundaryCapType()
Returns the SimplePolygonSymbol's boundary cap type value. |
String |
getBoundaryColor()
Returns the SimplePolygonSymbol's boundary color value. |
String |
getBoundaryJoinType()
Returns the SimplePolygonSymbol's boundary join type value. |
double |
getBoundaryTransparency()
Returns the SimplePolygonSymbol's transparency value. |
String |
getBoundaryType()
Returns the SimplePolygonSymbol's boundary type value. |
long |
getBoundaryWidth()
Returns the SimplePolygonSymbol's boundary width value. |
String |
getFillColor()
Returns the SimplePolygonSymbol's fillcolor value. |
long |
getFillInterval()
Returns the SimplePolygonSymbol's fill interval value. |
double |
getFillTransparency()
Returns the SimplePolygonSymbol's fill transparency value. |
String |
getFillType()
Returns the SimplePolygonSymbol's fill type value. |
double |
getTransparency()
Returns the SimplePolygonSymbol's transparency value. |
String |
getType()
Abstract method returns the type of symbol that the Symbol object represents. |
boolean |
isAntialiasing()
Returns True if the SimplePolygonSymbol's antialiasing value is set to True. |
boolean |
isBoundary()
Returns True if the SimplePolygonSymbol's boundary value is set to True. |
boolean |
isOverlap()
Returns True if the SimplePolygonSymbol's overlap value is set to True. |
void |
setAntialiasing(boolean value)
Sets the SimplePolygonSymbol's antialiasing value. |
void |
setBoundary(boolean value)
Sets the SimplePolygonSymbol's boundary value. |
void |
setBoundaryCapType(String value)
Sets the SimplePolygonSymbol's boundary cap type value. |
void |
setBoundaryColor(String value)
Sets the SimplePolygonSymbol's boundary color value. |
void |
setBoundaryJoinType(String value)
Sets the SimplePolygonSymbol's boundary join type value. |
void |
setBoundaryTransparency(double value)
Sets the SimplePolygonSymbols boundary transparency value. |
void |
setBoundaryType(String value)
Sets the SimplePolygonSymbol's boundary type value. |
void |
setBoundaryWidth(long value)
Sets the SimplePolygonSymbol's boundary width value. |
void |
setFillColor(String value)
Sets the SimplePolygonSymbol's fill color value. |
void |
setFillInterval(long value)
Sets the distance between lines for hatch fills. |
void |
setFillTransparency(double value)
Sets the SimplePolygonSymbol's fill transparency value. |
void |
setFillType(String value)
Sets the SimplePolygonSymbol's fill type value. |
void |
setOverlap(boolean value)
Sets the SimplePolygonSymbol's overlap, which determines if labels can overlap this symbol. |
void |
setTransparency(double value)
Sets the percentage of transparency for this SimplePolygonSymbol. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BUTT
public static final String ROUND
public static final String SQUARE
public static final String MITER
public static final String BEVEL
public static final String SOLID
public static final String DASH
public static final String DOT
public static final String DASH_DOT
public static final String DASH_DOT_DOT
public static final String BDIAGONAL
public static final String FDIAGONAL
public static final String CROSS
public static final String DIAGCROSS
public static final String HORIZONTAL
public static final String VERTICAL
public static final String GRAY
public static final String LIGHTGRAY
public static final String DARKGRAY
Constructor Detail |
---|
public SimplePolygonSymbol()
SimplePolygonSymbol simplePolygon = new SimplePolygonSymbol();
Method Detail |
---|
public String getType()
Symbol
getType
in class Symbol
public void setTransparency(double value)
simplePolygon.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)
simplePolygon.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 setFillColor(String value)
simplePolygon.setFillColor("255,0,0");
value
- the fill color value.getFillColor()
public void setFillInterval(long value)
simplePolygon.setFillInterval(5);
value
- the fill interval value.getFillInterval()
public void setFillType(String value)
simplePolygon.setFillType("solid");
value
- the fill type value.getFillType()
public void setFillTransparency(double value)
simplePolygon.setFillTransparency(0.5);
value
- the fill transparency value.getFillTransparency()
public void setBoundaryWidth(long value)
simplePolygon.setBoundaryWidth(5);
value
- the boundary width value.getBoundaryWidth()
public void setBoundaryColor(String value)
simplePolygon.setBoundaryColor("100,0,0");
value
- the boundary color value.getBoundaryColor()
public void setBoundaryType(String value)
simplePolygon.setBoundaryType("SOLID");
value
- the boundary type value - SOLID, DASH, DOT, DASH_DOT, or DASH_DOT_DOT.getBoundaryType()
public void setBoundaryCapType(String value)
simplePolygon.setBoundaryCapType("BUTT");
value
- the boundary captype value - BUTT, ROUND, or SQUARE.getBoundaryCapType()
public void setBoundaryJoinType(String value)
simplePolygon.setBoundaryJoinType("ROUND");
value
- the boundary jointype value - ROUND, MITER, or BEVEL.getBoundaryJoinType()
public void setBoundaryTransparency(double value)
simplePolygon.setBoundaryTransparency(0.5);
value
- the boundary transparency value.getBoundaryTransparency()
public void setBoundary(boolean value)
simplePolygon.setBoundary(false);
value
- the boundary value.isBoundary()
public void setOverlap(boolean value)
simplePolygon.setOverlap(false);
value
- the overlap value - True or False.isOverlap()
public boolean isBoundary()
if(simplePolygon.isBoundary() == true){
simplePolygon.setBoundary(false);
}
setBoundary(boolean)
public double getTransparency()
double transparency = simplePolygon.getTransparency();
setTransparency(double)
public boolean isAntialiasing()
if(simplePolygon.isAntialiasing() == true){
simplePolygon.setAntialiasing(false);
}
setAntialiasing(boolean)
public String getFillColor()
String fillColor = simplePolygon.getFillColor();
setFillColor(java.lang.String)
public long getFillInterval()
long fillInterval = simplePolygon.getFillInterval();
setFillInterval(long)
public String getFillType()
String fillType = simplePolygon.getFillType();
setFillType(java.lang.String)
public double getFillTransparency()
double fillTransparency = simplePolygon.getFillTransparency();
setFillTransparency(double)
public long getBoundaryWidth()
long boundaryWidth = simplePolygon.getBoundaryWidth();
setBoundaryWidth(long)
public String getBoundaryColor()
String boundaryColor = simplePolygon.getBoundaryColor();
setBoundaryColor(java.lang.String)
public String getBoundaryType()
String boundaryType = simplePolygon.getBoundaryType();
setBoundaryType(java.lang.String)
public String getBoundaryCapType()
String boundaryCapType = simplePolygon.getBoundaryCapType();
setBoundaryCapType(java.lang.String)
public String getBoundaryJoinType()
String boundaryJoinType = simplePolygon.getBoundaryJoinType();
setBoundaryJoinType(java.lang.String)
public double getBoundaryTransparency()
double boundaryTransparency = simplePolygon.getBoundaryTransparency();
setBoundaryTransparency(double)
public boolean isOverlap()
if(simplePolygon.isOverlap() == true){
simplePolygon.setOverlap(false);
}
setOverlap(boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |