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