|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.adf.web.data.symbol.WebSymbol
public abstract class WebSymbol
WebSymbol
is an abstract super class for all symbol classes. Developers are expected to instantiate
WebSymbol
's subclasses.
Field Summary | |
---|---|
protected double |
transparency
|
Constructor Summary | |
---|---|
WebSymbol()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
double |
getAngle()
Returns the symbol angle, default value is 0. |
double |
getTransparency()
Returns the symbol transparency value. |
abstract String |
getType()
Returns the type of symbol that the Symbol object represents. |
int |
getWidth()
Returns width of the symbol. |
int |
hashCode()
|
boolean |
isAntialiasing()
Returns true if the symbol antialiasing value is set to true. |
void |
setAngle(double angle)
Sets the symbol angle value, default value is 0. |
void |
setAntialiasing(boolean antialiasing)
Sets the antialiasing value for this symbol. |
void |
setTransparency(double transparency)
Sets the percentage of transparency for this symbol, default value is 1.0. |
void |
setWidth(int width)
Sets the width of the symbol, default value is 0. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected double transparency
Constructor Detail |
---|
public WebSymbol()
Method Detail |
---|
public abstract String getType()
public void setAngle(double angle)
angle
- the symbol angle value in degrees. The angle of the symbol is calculated in a clockwise direction.public double getAngle()
public void setAntialiasing(boolean antialiasing)
antialiasing
- the antialiasing value, default value is false.isAntialiasing()
public boolean isAntialiasing()
true
if the symbol antialiasing value is set to true.
setAntialiasing(boolean)
public void setTransparency(double transparency)
For Example, symbol.setTransparency(1.0);
transparency
- the transparency value. 1.0
is 0 percent transparent and 0.0
is 100
percent transparent.getTransparency()
public double getTransparency()
For Example, double transparency = symbol.getTransparency();
setTransparency(double)
public void setWidth(int width)
width
- the symbol width in pixels.public int getWidth()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |