|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.geometry.Scale
public class Scale
An abstract representation of a scale, with automatic conversion to fixed ratio.
Copyright 2008 Partner Software, Inc.
| Method Summary | |
|---|---|
static Scale |
forMapScale(double mapScale)
Returns a corresponding scale derived from the "map scale" - generally the inverse of the ratio. |
static Scale |
forPixelFeet(double pixelSize)
Returns a corresponding Scale derived from the size (width and height) of a single pixel (1/144 inch) in feet. |
static Scale |
forPointFeet(double pointSize)
Returns a corresponding Scale derived from the size (width and height) of a single point (1/72 inch) in feet. |
static Scale |
forRatio(double ratio)
Returns a corresponding scale derived from a ratio - e.g. |
double |
getMapScale()
|
double |
getPixelFeet()
|
double |
getPointFeet()
|
double |
getRatio()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Scale forMapScale(double mapScale)
public static Scale forRatio(double ratio)
public static Scale forPixelFeet(double pixelSize)
pixelSize -
public static Scale forPointFeet(double pointSize)
pointSize -
public double getRatio()
public double getMapScale()
public double getPixelFeet()
public double getPointFeet()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||