public class Measure extends Object
Class which describes Measure coordinate system.
Modifier and Type | Class and Description |
---|---|
static class |
Measure.NumberFormat
Number format for measure.
|
static class |
Measure.NumberFormatList
Represents list of number formats.
|
Constructor and Description |
---|
Measure(Annotation annotation)
Creates Measure object for measure annotations.
|
Modifier and Type | Method and Description |
---|---|
Measure.NumberFormatList |
getAngleFormat()
A number format array for measurement of angles.
|
Measure.NumberFormatList |
getAreaFormat()
A number format array for measurement of area.
|
Measure.NumberFormatList |
getDistanceFormat()
A number format array for measurement of distance in any direction.
|
Point |
getOrigin()
Point that shall specify the origin of the measurement coordinate system in default user
space coordinates.
|
String |
getScaleRatio()
A text string expressing the scale ratio of the drawing.
|
Measure.NumberFormatList |
getSlopeFormat()
A number format array for measurement of the slope of a line.
|
Measure.NumberFormatList |
getXFormat()
A number format array for measurement of change along the xaxis and, if Y is not present,
along the y axis as well
|
double |
getXYFactor()
A factor that shall be used to convert the largest units along the y axis to the largest
units along the x axis.
|
Measure.NumberFormatList |
getYFormat()
A number format array for measurement of change along the y axis.
|
void |
setAngleFormat(Measure.NumberFormatList value)
A number format array for measurement of angles.
|
void |
setAreaFormat(Measure.NumberFormatList value)
A number format array for measurement of area.
|
void |
setDistanceFormat(Measure.NumberFormatList value)
A number format array for measurement of distance in any direction.
|
void |
setOrigin(Point value)
Point that shall specify the origin of the measurement coordinate system in default user
space coordinates.
|
void |
setScaleRatio(String value) |
void |
setSlopeFormat(Measure.NumberFormatList value)
A number format array for measurement of the slope of a line.
|
void |
setXFormat(Measure.NumberFormatList value)
A number format array for measurement of change along the xaxis and, if Y is not present,
along the y axis as well
|
void |
setXYFactor(double value)
A factor that shall be used to convert the largest units along the y axis to the largest
units along the x axis.
|
void |
setYFormat(Measure.NumberFormatList value)
A number format array for measurement of change along the y axis.
|
public Measure(Annotation annotation)
Creates Measure object for measure annotations.
annotation
- Annotation for which measure will be bound.public String getScaleRatio()
A text string expressing the scale ratio of the drawing.
public void setScaleRatio(String value)
public Measure.NumberFormatList getXFormat()
A number format array for measurement of change along the xaxis and, if Y is not present, along the y axis as well
public void setXFormat(Measure.NumberFormatList value)
A number format array for measurement of change along the xaxis and, if Y is not present, along the y axis as well
value
- NumberFormatList valuepublic Measure.NumberFormatList getYFormat()
A number format array for measurement of change along the y axis.
public void setYFormat(Measure.NumberFormatList value)
A number format array for measurement of change along the y axis.
value
- NumberFormatList valuepublic Measure.NumberFormatList getDistanceFormat()
A number format array for measurement of distance in any direction.
public void setDistanceFormat(Measure.NumberFormatList value)
A number format array for measurement of distance in any direction.
value
- NumberFormatList valuepublic Measure.NumberFormatList getAreaFormat()
A number format array for measurement of area.
public void setAreaFormat(Measure.NumberFormatList value)
A number format array for measurement of area.
value
- NumberFormatList objectpublic Measure.NumberFormatList getAngleFormat()
A number format array for measurement of angles.
public void setAngleFormat(Measure.NumberFormatList value)
A number format array for measurement of angles.
value
- NumberFormatList valuepublic Measure.NumberFormatList getSlopeFormat()
A number format array for measurement of the slope of a line.
public void setSlopeFormat(Measure.NumberFormatList value)
A number format array for measurement of the slope of a line.
value
- NumberFormatList valuepublic Point getOrigin()
Point that shall specify the origin of the measurement coordinate system in default user space coordinates.
public void setOrigin(Point value)
Point that shall specify the origin of the measurement coordinate system in default user space coordinates.
value
- Point objectpublic double getXYFactor()
A factor that shall be used to convert the largest units along the y axis to the largest units along the x axis.
public void setXYFactor(double value)
A factor that shall be used to convert the largest units along the y axis to the largest units along the x axis.
value
- double value