PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.interaction.annotations
Class VertexShape

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
      extended by it.stefanochizzolini.clown.documents.interaction.annotations.Annotation
          extended by it.stefanochizzolini.clown.documents.interaction.annotations.Shape
              extended by it.stefanochizzolini.clown.documents.interaction.annotations.VertexShape
Direct Known Subclasses:
Polygon, Polyline

public abstract class VertexShape
extends Shape

Abstract vertexed shape annotation.

Since:
0.0.7
Version:
0.0.8
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Nested Class Summary
 
Nested classes/interfaces inherited from class it.stefanochizzolini.clown.documents.interaction.annotations.Annotation
Annotation.FlagsEnum
 
Constructor Summary
protected VertexShape(Page page, Rectangle2D box, PdfName subtype)
           
protected VertexShape(PdfDirectObject baseObject, PdfIndirectObject container)
           
 
Method Summary
 VertexShape clone(Document context)
          Gets a clone of the object, registered inside the given document context.
 List<Point2D> getVertices()
          Gets the coordinates of each vertex.
 void setVertices(List<Point2D> value)
           
 
Methods inherited from class it.stefanochizzolini.clown.documents.interaction.annotations.Shape
getFillColor, setFillColor
 
Methods inherited from class it.stefanochizzolini.clown.documents.interaction.annotations.Annotation
getAction, getActions, getAppearance, getBorder, getBox, getFlags, getModificationDate, getName, getPage, getText, isPrintable, isVisible, setAction, setActions, setAppearance, setBorder, setBox, setFlags, setModificationDate, setName, setPage, setPrintable, setText, setVisible, wrap, wrap
 
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VertexShape

protected VertexShape(Page page,
                      Rectangle2D box,
                      PdfName subtype)

VertexShape

protected VertexShape(PdfDirectObject baseObject,
                      PdfIndirectObject container)
Method Detail

clone

public VertexShape clone(Document context)
Description copied from class: PdfObjectWrapper
Gets a clone of the object, registered inside the given document context.

Overrides:
clone in class Shape
Parameters:
context - Which document the clone has to be registered in.

getVertices

public List<Point2D> getVertices()
Gets the coordinates of each vertex.


setVertices

public void setVertices(List<Point2D> value)
See Also:
getVertices()

PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.