PDF4Java Reference Documentation
com.o2sol.pdf4java.spatial Package / PDFRectilinearMeasure Class
Fields Methods Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFRectilinearMeasure Class Members
In This Topic

The following tables list the members exposed by PDFRectilinearMeasure.

Public Constructors

| Name | Description
--- | --- | ---
| PDFRectilinearMeasure Constructor | Overloaded.

Top
Protected Fields

| Name | Description
--- | --- | ---
| cosMeasure | (Inherited from com.o2sol.pdf4java.spatial.PDFMeasure)

Top
Public Methods

| Name | Description
--- | --- | ---
| getAngle | Gets the number formats for angles. The first element in the collection shall specify the conversion to the largest angle unit from degrees. The scale factor from (if present) shall be used to convert from default PDF units to the appropriate units before applying the angle function.
| getArea | Gets the number formats for area. The first element in the collection shall specify the conversion to the largest area unit from units represented by the first element in , squared. The scale factors from , (if present) and (if is present) shall be used to convert from default PDF units to the appropriate units before applying the area function.
| getCosMeasure | Gets the COS measure. (Inherited from com.o2sol.pdf4java.spatial.PDFMeasure)
| getCXY | Gets the conversion factor. It shall be used for calculations (distance, area, and angle) where the units are be equivalent; if not specified, these calculations may not be performed.
| getDistance | Gets the number formats for distance. The first element in the collection shall specify the conversion to the largest distance unit from units represented by the first element in . The scale factors from , (if present) and (if is present) shall be used to convert from default PDF units to the appropriate units before applying the distance function.
| getOrigin | Gets the origin of the measurement coordinate system.
| getScaleRatio | Gets the scale ratio. Universally recognized unit abbreviations should be used, either matching those of the number format collections in this object or those of commonly used scale ratios. For example: 1/4 in = 1 ft
| getSlope | Gets the number formats for slopes. The first element in the collection shall specify the conversion to the largest slope unit from units represented by the first element in divided by the first element in . The scale factors from , (if present) and (if is present) shall be used to convert from default PDF units to the appropriate units before applying the slope function.
| getX | Gets the number formats for X axis. The first element in the array shall contain the scale factor for converting from default user space units to the largest units in the measuring coordinate system along that axis.
| getY | Gets the number formats for Y axis. The first element in the array shall contain the scale factor for converting from default user space units to the largest units in the measuring coordinate system along the Y axis.
| setAngle | Sets the number formats for angles. The first element in the collection shall specify the conversion to the largest angle unit from degrees. The scale factor from (if present) shall be used to convert from default PDF units to the appropriate units before applying the angle function.
| setArea | Sets the number formats for area. The first element in the collection shall specify the conversion to the largest area unit from units represented by the first element in , squared. The scale factors from , (if present) and (if is present) shall be used to convert from default PDF units to the appropriate units before applying the area function.
| setCXY | Sets the conversion factor. It shall be used for calculations (distance, area, and angle) where the units are be equivalent; if not specified, these calculations may not be performed.
| setDistance | Sets the number formats for distance. The first element in the collection shall specify the conversion to the largest distance unit from units represented by the first element in . The scale factors from , (if present) and (if is present) shall be used to convert from default PDF units to the appropriate units before applying the distance function.
| setOrigin | Sets the origin of the measurement coordinate system.
| setScaleRatio | Sets the scale ratio. Universally recognized unit abbreviations should be used, either matching those of the number format collections in this object or those of commonly used scale ratios. For example: 1/4 in = 1 ft
| setSlope | Sets the number formats for slopes. The first element in the collection shall specify the conversion to the largest slope unit from units represented by the first element in divided by the first element in . The scale factors from , (if present) and (if is present) shall be used to convert from default PDF units to the appropriate units before applying the slope function.
| setX | Sets the number formats for X axis. The first element in the array shall contain the scale factor for converting from default user space units to the largest units in the measuring coordinate system along that axis.
| setY | Sets the number formats for Y axis. The first element in the array shall contain the scale factor for converting from default user space units to the largest units in the measuring coordinate system along the Y axis.

Top
See Also

#### Reference

PDFRectilinearMeasure Class
com.o2sol.pdf4java.spatial Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.