public class PdfPolyGeomAnnotation extends PdfMarkupAnnotation
| Modifier and Type | Field and Description |
|---|---|
static PdfName |
Polygon
Subtypes
|
static PdfName |
PolyLine |
inReplyTo, popupAccepted, Canceled, Completed, HIDDEN, HIGHLIGHT_INVERT, HIGHLIGHT_NONE, HIGHLIGHT_OUTLINE, HIGHLIGHT_PUSH, HIGHLIGHT_TOGGLE, INVISIBLE, LOCKED, LOCKED_CONTENTS, Marked, MarkedModel, NO_ROTATE, NO_VIEW, NO_ZOOM, None, page, PRINT, READ_ONLY, Rejected, ReviewModel, STYLE_BEVELED, STYLE_DASHED, STYLE_INSET, STYLE_SOLID, STYLE_UNDERLINE, TOGGLE_NO_VIEW, Unmarked| Constructor and Description |
|---|
PdfPolyGeomAnnotation(PdfDictionary pdfObject) |
PdfPolyGeomAnnotation(Rectangle rect, PdfName subtype, float[] vertices) |
| Modifier and Type | Method and Description |
|---|---|
static PdfPolyGeomAnnotation |
createPolygon(Rectangle rect, float[] vertices) |
static PdfPolyGeomAnnotation |
createPolyLine(Rectangle rect, float[] vertices) |
PdfArray |
getLineEndingStyles() |
PdfDictionary |
getMeasure() |
PdfName |
getSubtype()
Gets a PdfName which value is a subtype of this annotation.
|
PdfArray |
getVertices() |
PdfPolyGeomAnnotation |
setLineEndingStyles(PdfArray lineEndingStyles) |
PdfPolyGeomAnnotation |
setMeasure(PdfDictionary measure) |
PdfPolyGeomAnnotation |
setVertices(float[] vertices) |
PdfPolyGeomAnnotation |
setVertices(PdfArray vertices) |
getBorderEffect, getCreationDate, getDefaultAppearance, getExternalData, getIconName, getInReplyTo, getInReplyToObject, getIntent, getInteriorColor, getJustification, getOpacity, getPopup, getPopupObject, getRectangleDifferences, getReplyType, getRichText, getSubject, getText, setBorderEffect, setCreationDate, setDefaultAppearance, setExternalData, setIconName, setInReplyTo, setIntent, setInteriorColor, setInteriorColor, setJustification, setOpacity, setPopup, setRectangleDifferences, setReplyType, setRichText, setSubject, setTextflush, getAction, getAdditionalAction, getAppearanceCharacteristics, getAppearanceDictionary, getAppearanceObject, getAppearanceState, getBorder, getBorderStyle, getColorObject, getContents, getDate, getDownAppearanceObject, getFlags, getName, getNormalAppearanceObject, getOpen, getPage, getPageObject, getQuadPoints, getRectangle, getRolloverAppearanceObject, getStructParentIndex, getTitle, hasFlag, isWrappedObjectMustBeIndirect, makeAnnotation, makeAnnotation, put, remove, resetFlag, setAction, setAdditionalAction, setAppearance, setAppearance, setAppearanceCharacteristics, setAppearanceState, setBorder, setBorderStyle, setBorderStyle, setColor, setColor, setColor, setContents, setContents, setDashPattern, setDate, setDownAppearance, setDownAppearance, setFlag, setFlags, setLayer, setName, setNormalAppearance, setNormalAppearance, setOpen, setPage, setQuadPoints, setRectangle, setRolloverAppearance, setRolloverAppearance, setStructParentIndex, setTitleensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidReleasepublic static final PdfName Polygon
public static final PdfName PolyLine
public PdfPolyGeomAnnotation(Rectangle rect, PdfName subtype, float[] vertices)
public PdfPolyGeomAnnotation(PdfDictionary pdfObject)
public static PdfPolyGeomAnnotation createPolygon(Rectangle rect, float[] vertices)
public static PdfPolyGeomAnnotation createPolyLine(Rectangle rect, float[] vertices)
public PdfName getSubtype()
PdfAnnotation
PdfName which value is a subtype of this annotation. See ISO-320001 12.5.6, “Annotation Types” for the reference to the possible types.
getSubtype in class PdfAnnotation
public PdfArray getVertices()
public PdfPolyGeomAnnotation setVertices(PdfArray vertices)
public PdfPolyGeomAnnotation setVertices(float[] vertices)
public PdfArray getLineEndingStyles()
public PdfPolyGeomAnnotation setLineEndingStyles(PdfArray lineEndingStyles)
public PdfDictionary getMeasure()
public PdfPolyGeomAnnotation setMeasure(PdfDictionary measure)
Copyright © 1998–2017 iText Group NV. All rights reserved.