|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GraphicLegend
Used to represent a Rule (or other construct) in a user interface or legend.
| Method Summary | |
|---|---|
AnchorPoint |
getAnchorPoint()
The AnchorPoint element of a PointSymbolizer gives the location inside of a Graphic (or label - see 11.4.4) to use for anchoring the graphic to the main-geometry point. |
Displacement |
getDisplacement()
The Displacement gives the X and Y displacements from the "hot-spot" point. |
Expression |
getOpacity()
Indicates the level of translucency as a floating point number whose value is between 0.0 and 1.0 (inclusive). |
Expression |
getRotation()
Returns the expression that will be used to calculate the rotation of the graphic when it is drawn. |
Expression |
getSize()
The size of the mark if specified. |
List<GraphicalSymbol> |
graphicalSymbols()
The items in this list are either a Mark or a ExternalGraphic. |
void |
setAnchorPoint(AnchorPoint anchor)
|
void |
setDisplacement(Displacement displacement)
|
void |
setOpacity(Expression opacity)
|
void |
setSize(Expression size)
Indicates the size at which the graphic should be displayed. |
| Methods inherited from interface GraphicLegend |
|---|
accept |
| Method Detail |
|---|
AnchorPoint getAnchorPoint()
Graphic
getAnchorPoint in interface Graphicvoid setAnchorPoint(AnchorPoint anchor)
Displacement getDisplacement()
Graphic
getDisplacement in interface Graphicvoid setDisplacement(Displacement displacement)
Expression getOpacity()
Graphic
getOpacity in interface Graphicvoid setOpacity(Expression opacity)
Expression getRotation()
Graphic
getRotation in interface GraphicExpression getSize()
If unspecified:
getSize in interface Graphicvoid setSize(Expression size)
If this value is null the natural size of the graphic will be used; or for graphics without a natural size like SVG files 16x16 will be used.
size - List<GraphicalSymbol> graphicalSymbols()
This list may be directly edited; the items are considered in order from most preferred (say an SVG file) to least preferred (a simple shape) with the intension that the system will make use of the first entry which it is capabile of displaying.
graphicalSymbols in interface Graphic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||