Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel.interactive.measurement

public Class PDRectlinearMeasureDictionary

extends PDMeasureDictionary
Class Inheritance
Imports
org.apache.pdfbox.cos.COSArray, .COSDictionary, .COSName

This class represents a rectlinear measure dictionary.

Field Summary

Modifier and TypeField and Description
public static final String
SUBTYPE

The subtype of the rectlinear measure dictionary.

Inherited from org.apache.pdfbox.pdmodel.interactive.measurement.PDMeasureDictionary:
TYPE

Constructor Summary

AccessConstructor and Description
public
public
PDRectlinearMeasureDictionary(COSDictionary
the corresponding dictionary
dictionary
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public PDNumberFormatDictionary[]

Returns:

angles
getAngles
()

This will return the angles.

public PDNumberFormatDictionary[]

Returns:

areas
getAreas
()

This will return the areas.

public PDNumberFormatDictionary[]

Returns:

changes along the x-axis
getChangeXs
()

This will return the changes along the x-axis.

public PDNumberFormatDictionary[]

Returns:

changes along the y-axis
getChangeYs
()

This will return the changes along the y-axis.

public float[]

Returns:

the origin
getCoordSystemOrigin
()

This will return the origin of the coordinate system.

public float

Returns:

CYX factor
getCYX
()

This will return the CYX factor.

public PDNumberFormatDictionary[]

Returns:

distances
getDistances
()

This will return the distances.

public PDNumberFormatDictionary[]

Returns:

the sloaps of a line
getLineSloaps
()

This will return the sloaps of a line.

public String

Returns:

the scale ratio.
getScaleRatio
()

This will return the scale ration.

public void
setAngles(PDNumberFormatDictionary[]
angles
angles
)

This will set the angles.

public void
setAreas(PDNumberFormatDictionary[]
areas
areas
)

This will set the areas.

public void
setChangeXs(PDNumberFormatDictionary[]
changes along the x-axis
changeXs
)

This will set the changes along the x-axis.

public void
setChangeYs(PDNumberFormatDictionary[]
changes along the y-axis
changeYs
)

This will set the changes along the y-axis.

public void
setCoordSystemOrigin(float[]
the origin
coordSystemOrigin
)

This will set the origin of the coordinate system.

public void
setCYX(float
CYX factor
cyx
)

This will set the CYX factor.

public void
setDistances(PDNumberFormatDictionary[]
distances
distances
)

This will set the distances.

public void
setLineSloaps(PDNumberFormatDictionary[]
the sloaps of a line
lineSloaps
)

This will set the sloaps of a line.

public void
setScaleRatio(String
the scale ratio.
scaleRatio
)

This will set the scale ration.

Inherited from org.apache.pdfbox.pdmodel.interactive.measurement.PDMeasureDictionary:
getCOSObjectgetSubtypegetTypesetSubtype

Field Detail

SUBTYPEback to summary
public static final String SUBTYPE

The subtype of the rectlinear measure dictionary.

Constructor Detail

PDRectlinearMeasureDictionaryback to summary
public PDRectlinearMeasureDictionary()

Constructor.

PDRectlinearMeasureDictionaryback to summary
public PDRectlinearMeasureDictionary(COSDictionary dictionary)

Constructor.

Parameters
dictionary:COSDictionary

the corresponding dictionary

Method Detail

getAnglesback to summary
public PDNumberFormatDictionary[] getAngles()

This will return the angles.

Returns:PDNumberFormatDictionary[]

angles

getAreasback to summary
public PDNumberFormatDictionary[] getAreas()

This will return the areas.

Returns:PDNumberFormatDictionary[]

areas

getChangeXsback to summary
public PDNumberFormatDictionary[] getChangeXs()

This will return the changes along the x-axis.

Returns:PDNumberFormatDictionary[]

changes along the x-axis

getChangeYsback to summary
public PDNumberFormatDictionary[] getChangeYs()

This will return the changes along the y-axis.

Returns:PDNumberFormatDictionary[]

changes along the y-axis

getCoordSystemOriginback to summary
public float[] getCoordSystemOrigin()

This will return the origin of the coordinate system.

Returns:float[]

the origin

getCYXback to summary
public float getCYX()

This will return the CYX factor.

Returns:float

CYX factor

getDistancesback to summary
public PDNumberFormatDictionary[] getDistances()

This will return the distances.

Returns:PDNumberFormatDictionary[]

distances

getLineSloapsback to summary
public PDNumberFormatDictionary[] getLineSloaps()

This will return the sloaps of a line.

Returns:PDNumberFormatDictionary[]

the sloaps of a line

getScaleRatioback to summary
public String getScaleRatio()

This will return the scale ration.

Returns:String

the scale ratio.

setAnglesback to summary
public void setAngles(PDNumberFormatDictionary[] angles)

This will set the angles.

Parameters
angles:PDNumberFormatDictionary[]

angles

setAreasback to summary
public void setAreas(PDNumberFormatDictionary[] areas)

This will set the areas.

Parameters
areas:PDNumberFormatDictionary[]

areas

setChangeXsback to summary
public void setChangeXs(PDNumberFormatDictionary[] changeXs)

This will set the changes along the x-axis.

Parameters
changeXs:PDNumberFormatDictionary[]

changes along the x-axis

setChangeYsback to summary
public void setChangeYs(PDNumberFormatDictionary[] changeYs)

This will set the changes along the y-axis.

Parameters
changeYs:PDNumberFormatDictionary[]

changes along the y-axis

setCoordSystemOriginback to summary
public void setCoordSystemOrigin(float[] coordSystemOrigin)

This will set the origin of the coordinate system.

Parameters
coordSystemOrigin:float[]

the origin

setCYXback to summary
public void setCYX(float cyx)

This will set the CYX factor.

Parameters
cyx:float

CYX factor

setDistancesback to summary
public void setDistances(PDNumberFormatDictionary[] distances)

This will set the distances.

Parameters
distances:PDNumberFormatDictionary[]

distances

setLineSloapsback to summary
public void setLineSloaps(PDNumberFormatDictionary[] lineSloaps)

This will set the sloaps of a line.

Parameters
lineSloaps:PDNumberFormatDictionary[]

the sloaps of a line

setScaleRatioback to summary
public void setScaleRatio(String scaleRatio)

This will set the scale ration.

Parameters
scaleRatio:String

the scale ratio.