| java.lang.Object net.refractions.udig.project.StyleContent net.refractions.udig.mapgraphic.scalebar.LocationStyleContent
LocationStyleContent | public class LocationStyleContent extends StyleContent (Code) | | Rectangle indicating Location in device coordinates, w & h in 1/72 of an inch.
Screen Coordinates are used. This naturally changes to Page
Coordinates when printed.
The x,y position are considered in a realtive fashion.
- x positive: measured from the left edge of the screen or paper
- y positive: measured from the top edge of the screen or paper
- x negative: measured from the bottom edge of the screen or paper
- z negative: measured from the right edge of the screen or paper
This allows a map graphic to be specified relative to any edge.
The width and height of the Rectangle indicate the requested size in terms
of Java's usual one pixel indicates 1/72 of an inch. Appropriate scaling
will be needed when page output is requested.
author: Richard Gould since: 0.6.0 |
XPAD_LEFT | final public static int XPAD_LEFT(Code) | | |
XPAD_RIGHT | final public static int XPAD_RIGHT(Code) | | |
YPAD_BOTTOM | final public static int YPAD_BOTTOM(Code) | | padding constants
|
YPAD_TOP | final public static int YPAD_TOP(Code) | | |
LocationStyleContent | public LocationStyleContent()(Code) | | Location style holding a rectangle.
|
createDefaultStyle | public static Rectangle createDefaultStyle()(Code) | | TODO summary sentence for createDefaultStyle ...
|
Fields inherited from net.refractions.udig.project.StyleContent | final public static String XPID(Code)(Java Doc)
|
|
|