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