Package com.itextpdf.text.pdf.spatial
Class CoordinateSystem
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.spatial.CoordinateSystem
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GeographicCoordinateSystem
,ProjectedCoordinateSystem
The value of the GCS or DCS entry of a geospatial measure dictionary.
Can be a GeographicCoordinateSystem or a ProjectedCoordinateSystem.
- Since:
- 5.1.0
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCoordinateSystem
(PdfName type) Creates a specific type of CoordinateSystem: GEOGCS (GeographicCoordinateSystem) or PROJCS (ProjectedCoordinateSystem). -
Method Summary
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
-
Constructor Details
-
CoordinateSystem
Creates a specific type of CoordinateSystem: GEOGCS (GeographicCoordinateSystem) or PROJCS (ProjectedCoordinateSystem).
-
-
Method Details
-
setEPSG
public void setEPSG(int epsg) Sets the EPSG code.- Parameters:
epsg
-
-
setWKT
Sets the Well Known Text.- Parameters:
wkt
- a String that will be converted to a PdfString in ASCII.
-