Inheritance: java.lang.Object, com.aspose.pdf.Measure

public class Measure extends Object

Class which describes Measure coordinate system.

Constructors

ConstructorDescription
MeasureCreates Measure object for measure annotations.

Methods

MethodDescription
getAngleFormatA number format array for measurement of angles.
getAreaFormatA number format array for measurement of area.
getDistanceFormatA number format array for measurement of distance in any direction.
getOriginPoint that shall specify the origin of the measurement coordinate system in default user space coordinates.
getScaleRatioA text string expressing the scale ratio of the drawing.
getSlopeFormatA number format array for measurement of the slope of a line.
getXFormatA number format array for measurement of change along the xaxis and, if Y is not present, along the y axis as well
getXYFactorA factor that shall be used to convert the largest units along the y axis to the largest units along the x axis.
getYFormatA number format array for measurement of change along the y axis.
setAngleFormatA number format array for measurement of angles.
setAreaFormatA number format array for measurement of area.
setDistanceFormatA number format array for measurement of distance in any direction.
setOriginPoint that shall specify the origin of the measurement coordinate system in default user space coordinates.
setScaleRatio
setSlopeFormatA number format array for measurement of the slope of a line.
setXFormatA number format array for measurement of change along the xaxis and, if Y is not present, along the y axis as well
setXYFactorA factor that shall be used to convert the largest units along the y axis to the largest units along the x axis.
setYFormatA 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:

ParameterTypeDescription
valuedouble value

setYFormat

A number format array for measurement of change along the y axis.