public class ScaleMember
extends java.lang.Object
the scale.
The sub item of the general scale set (WellknownScale
), which includes two attributes: scale denominator and pixel size, where the pixel size units have different definitions in different general scale sets.
Constructor and Description |
---|
ScaleMember(double scaleDenominator, double pixelSize)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getPixelSize()
Gets the pixel size.
|
double |
getScaleDenominator()
Gets the scale denominator.
|
void |
setPixelSize(double pixelSize)
Sets the pixel size.
|
void |
setScaleDenominator(double scaleDenominator)
Sets the scale denominator.
|
public ScaleMember(double scaleDenominator, double pixelSize)
The Constructor.
scaleDenominator
- scale denominator.pixelSize
- pixel size.public final void setScaleDenominator(double scaleDenominator)
Sets the scale denominator.
scaleDenominator
- scale denominator.public final double getScaleDenominator()
Gets the scale denominator.
public final void setPixelSize(double pixelSize)
Sets the pixel size.
pixelSize
- pixel size.public final double getPixelSize()
Gets the pixel size.