com.itextpdf.text.pdf.spatial
Class CoordinateSystem

java.lang.Object
  extended by com.itextpdf.text.pdf.PdfObject
      extended by com.itextpdf.text.pdf.PdfDictionary
          extended by com.itextpdf.text.pdf.spatial.CoordinateSystem
Direct Known Subclasses:
GeographicCoordinateSystem, ProjectedCoordinateSystem

public abstract class CoordinateSystem
extends com.itextpdf.text.pdf.PdfDictionary

The value of the GCS or DCS entry of a geospatial measure dictionary. Can be a GeographicCoordinateSystem or a ProjectedCoordinateSystem.

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
CoordinateSystem(com.itextpdf.text.pdf.PdfName type)
          Creates a specific type of CoordinateSystem: GEOGCS (GeographicCoordinateSystem) or PROJCS (ProjectedCoordinateSystem).
 
Method Summary
 void setEPSG(int epsg)
          Sets the EPSG code.
 void setWKT(String wkt)
          Sets the Well Known Text.
 
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

CoordinateSystem

public CoordinateSystem(com.itextpdf.text.pdf.PdfName type)
Creates a specific type of CoordinateSystem: GEOGCS (GeographicCoordinateSystem) or PROJCS (ProjectedCoordinateSystem).

Method Detail

setEPSG

public void setEPSG(int epsg)
Sets the EPSG code.

Parameters:
epsg -

setWKT

public void setWKT(String wkt)
Sets the Well Known Text.

Parameters:
wkt - a String that will be converted to a PdfString in ASCII.


Copyright © 2013. All Rights Reserved.