|
GeoAPI 1.0 Build 2004-05-18 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The GraphicSymbol interface is used to draw a symbolic graphic
on the canvas. A GraphicSymbol can be defined as a point, line, area, or
other type of graphic. The symbology attributes of the graphic define how
the graphic is rendered. The symbol can be a complex rendering or a simple
rendering. Each graphic symbol defines 1 or more anchor points. These
anchor points define special positional locations in the symbol. The
required number, order and position of anchor points are dependent on what
type of symbology you are using.
| Method Summary | |
|---|---|
void |
addAnchorPoint(DirectPosition anchor)
Appends an anchor point to the end of the list of anchors. |
void |
deleteAnchorPoint(int index)
Removes the anchor point located at the given index. |
String |
getActiveSymbology()
Gets the active symbology name that is being used to render this graphic symbol. |
DirectPosition |
getAnchorPoint(int index)
Gets an anchor point located at the given index. |
PointArray |
getAnchorPointArray()
Gets the current list of anchor points for this graphic symbol. |
DirectPosition[] |
getAnchorPoints()
Gets the current list of anchor points for this graphic symbol. |
Symbology |
getSymbology(String symbologyName)
Gets the symbology settings object for the given symbology name. |
String |
getSymbologyVersion()
Gets the active symbology name that is being used to render this graphic symbol. |
void |
insertAnchorPoint(int index,
DirectPosition anchor)
Inserts an anchor point at the given index. |
void |
setActiveSymbology(String symbologyName)
Sets the active symbology name that is being used to render this graphic symbol. |
void |
setAnchorPoint(int index,
DirectPosition anchor)
Sets an anchor point at the given index. |
void |
setAnchorPointArray(PointArray pointArray)
Sets the complete list of anchor points for this graphic symbol. |
void |
setAnchorPoints(DirectPosition[] anchors)
Sets the complete list of anchor points for this graphic symbol. |
void |
setSymbologyVersion(String symbologyVersion)
Sets the active symbology version that is being supported by this implementation. |
| Method Detail |
|---|
void addAnchorPoint(DirectPosition anchor)
anchor - the new position to add as an anchor point
void deleteAnchorPoint(int index)
throws IndexOutOfBoundsException
index - the index of the anchor point to remove.
IndexOutOfBoundsException - if the index does not fall in the range
of anchor points.
DirectPosition getAnchorPoint(int index)
throws IndexOutOfBoundsException
index - the index of the anchor point to get
IndexOutOfBoundsException - if the index does not fall in the range
of anchor points.
void insertAnchorPoint(int index,
DirectPosition anchor)
throws IndexOutOfBoundsException
index - the index of where to insert the anchor pointanchor - the anchor point to insert
IndexOutOfBoundsException - if the index does not fall in the range
of anchor points.
void setAnchorPoint(int index,
DirectPosition anchor)
throws IndexOutOfBoundsException
index - the index of where to set the anchor pointanchor - the anchor point to set
IndexOutOfBoundsException - if the index does not fall in the range
of anchor points.void setAnchorPoints(DirectPosition[] anchors)
anchors - the new list of anchorsDirectPosition[] getAnchorPoints()
void setAnchorPointArray(PointArray pointArray)
pointArray - the new list of anchorsPointArray getAnchorPointArray()
Symbology getSymbology(String symbologyName)
symbologyName - the name of the symbology properties to get
String getActiveSymbology()
void setActiveSymbology(String symbologyName)
throws IllegalArgumentException
symbologyName - the new active symbology
IllegalArgumentException - if the symbology isn't supportedString getSymbologyVersion()
void setSymbologyVersion(String symbologyVersion)
throws IllegalArgumentException
symbologyVersion - the symbology verion supported
IllegalArgumentException - if the symbology doesn't support versions
|
GeoAPI 1.0 Build 2004-05-18 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
Symbols, terms and definitions | Copyright OpenGIS® Consortium |