|
||||||||||
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()
This specifies the level of translucency to use when rendering the graphic. |
Expression |
getRotation()
This parameter defines the rotation of a graphic in the clockwise direction about its centre point in decimal degrees. |
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)
Graphic opacity. |
void |
setRotation(Expression rotation)
This parameter defines the rotation of a graphic in the clockwise direction about its centre point in decimal degrees. |
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 Graphic
void setAnchorPoint(AnchorPoint anchor)
Displacement getDisplacement()
Graphic
getDisplacement
in interface Graphic
void setDisplacement(Displacement displacement)
Expression getOpacity()
getOpacity
in interface Graphic
void setOpacity(Expression opacity)
opacity
- New value of property opacity.Expression getRotation()
getRotation
in interface Graphic
void setRotation(Expression rotation)
rotation
- in decimal degreesExpression getSize()
If unspecified:
getSize
in interface Graphic
void 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 |