PDF Clown
0.1.2

org.pdfclown.documents.interaction.annotations
Class Shape

java.lang.Object
  extended by org.pdfclown.objects.PdfObjectWrapper<PdfDictionary>
      extended by org.pdfclown.documents.interaction.annotations.Annotation
          extended by org.pdfclown.documents.interaction.annotations.Shape
All Implemented Interfaces:
Cloneable, ILayerable, IPdfObjectWrapper
Direct Known Subclasses:
Ellipse, Rectangle, VertexShape

@PDF(value=PDF13)
public abstract class Shape
extends Annotation

Abstract shape annotation.

Since:
0.0.7
Version:
0.1.2, 12/21/12
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.pdfclown.documents.interaction.annotations.Annotation
Annotation.FlagsEnum
 
Constructor Summary
protected Shape(Page page, Rectangle2D box, String text, PdfName subtype)
           
protected Shape(PdfDirectObject baseObject)
           
 
Method Summary
 DeviceRGBColor getFillColor()
          Gets the color with which to fill the interior of the annotation's shape.
 void setFillColor(DeviceRGBColor value)
           
 
Methods inherited from class org.pdfclown.documents.interaction.annotations.Annotation
clone, delete, getAction, getActions, getAppearance, getBorder, getBox, getColor, getFlags, getLayer, getModificationDate, getName, getPage, getText, isPrintable, isVisible, setAction, setActions, setAppearance, setBorder, setBox, setColor, setFlags, setLayer, setModificationDate, setName, setPrintable, setText, setVisible, wrap
 
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper
checkCompatibility, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shape

protected Shape(Page page,
                Rectangle2D box,
                String text,
                PdfName subtype)

Shape

protected Shape(PdfDirectObject baseObject)
Method Detail

getFillColor

public DeviceRGBColor getFillColor()
Gets the color with which to fill the interior of the annotation's shape.


setFillColor

public void setFillColor(DeviceRGBColor value)
See Also:
getFillColor()

PDF Clown
0.1.2

Project home page

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