|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Label
This is a label with style information and screen coordinates, ready to be rendered to a view.
Method Summary | |
---|---|
int |
getMaxX()
Returns the rightmost x-coordinate of the label's bounding box. |
int |
getMaxY()
Returns the lowermost y-coordinate of the label's bounding box. |
int |
getMinX()
Returns the leftmost x-coordinate of the label's bounding box. |
int |
getMinY()
Returns the uppermost x-coordinate of the label's bounding box. |
int |
getX()
Returns the x-coordinate of the label. |
int |
getY()
Returns the y-coordinate of the label. |
boolean |
intersects(Label that)
Determines if the label intersects with another label. |
void |
paint(java.awt.Graphics2D g)
Renders the label (including halo and other style information) to the submitted Graphics2D context. |
void |
paintBoundaries(java.awt.Graphics2D g)
Renders the label's boundaries to the submitted Graphics2D context. |
Method Detail |
---|
void paint(java.awt.Graphics2D g)
g
- Graphics2D context to be usedvoid paintBoundaries(java.awt.Graphics2D g)
g
- Graphics2D context to be usedboolean intersects(Label that)
that
- label to test
int getX()
int getY()
int getMaxX()
int getMaxY()
int getMinX()
int getMinY()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org