com.itextpdf.text.pdf.spatial
Class MeasureGeospatial

java.lang.Object
  extended by com.itextpdf.text.pdf.PdfObject
      extended by com.itextpdf.text.pdf.PdfDictionary
          extended by com.itextpdf.text.pdf.spatial.Measure
              extended by com.itextpdf.text.pdf.spatial.MeasureGeospatial

public class MeasureGeospatial
extends Measure

Geospatial Measure dictionary.

Since:
5.1.0

Field Summary
 
Fields inherited from class com.itextpdf.text.pdf.PdfDictionary
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGES
 
Fields inherited from class com.itextpdf.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type
 
Constructor Summary
MeasureGeospatial()
           
 
Method Summary
 void setBounds(com.itextpdf.text.pdf.NumberArray bounds)
          An array of numbers that shall be taken pairwise to define a series of points that describes the bounds of an area for which geospatial transformations are valid.
 void setCoordinateSystem(CoordinateSystem cs)
          A projected or geographic coordinate system dictionary.
 void setDisplayCoordinateSystem(GeographicCoordinateSystem cs)
          Optional coordinate system that allows a document to be authored to display values in a coordinate system other than that associated with the source data.
 void setDisplayUnits(Linear l, Square s, Angular a)
          Three names that identify in order a linear display unit, an area display unit, and an angular display unit.
 void setGPTS(com.itextpdf.text.pdf.NumberArray pairedpoints)
          An array of numbers that shall be taken pairwise, defining points in geographic space as degrees of latitude and longitude.
 void setLPTS(com.itextpdf.text.pdf.NumberArray pairedpoints)
          An array of numbers that shall be taken pairwise to define points in a 2D unit square.
 
Methods inherited from class com.itextpdf.text.pdf.PdfDictionary
checkType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toString
 
Methods inherited from class com.itextpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MeasureGeospatial

public MeasureGeospatial()
Method Detail

setBounds

public void setBounds(com.itextpdf.text.pdf.NumberArray bounds)
An array of numbers that shall be taken pairwise to define a series of points that describes the bounds of an area for which geospatial transformations are valid.

Parameters:
bounds -

setCoordinateSystem

public void setCoordinateSystem(CoordinateSystem cs)
A projected or geographic coordinate system dictionary.

Parameters:
cs -

setDisplayCoordinateSystem

public void setDisplayCoordinateSystem(GeographicCoordinateSystem cs)
Optional coordinate system that allows a document to be authored to display values in a coordinate system other than that associated with the source data. For example, a map may be created in a state plane coordinate system based on a 1927 datum, but it is possible to display its latitude and longitude values in the WGS84 datum corresponding to values reported by a GPS device.

Parameters:
cs -

setDisplayUnits

public void setDisplayUnits(Linear l,
                            Square s,
                            Angular a)
Three names that identify in order a linear display unit, an area display unit, and an angular display unit.

Parameters:
l -
s -
a -

setGPTS

public void setGPTS(com.itextpdf.text.pdf.NumberArray pairedpoints)
An array of numbers that shall be taken pairwise, defining points in geographic space as degrees of latitude and longitude. These values shall be based on the geographic coordinate system described in the GCS dictionary.

Parameters:
pairedpoints -

setLPTS

public void setLPTS(com.itextpdf.text.pdf.NumberArray pairedpoints)
An array of numbers that shall be taken pairwise to define points in a 2D unit square. The unit square is mapped to the rectangular bounds of the Viewport, image XObject, or forms XObject that contains the measure dictionary. This array shall contain the same number of number pairs as the GPTS array; each number pair is the unit square object position corresponding to the geospatial position in the GPTS array.

Parameters:
pairedpoints -


Copyright © 2013. All Rights Reserved.