| |
|
| java.lang.Object org.pdfbox.pdmodel.interactive.annotation.PDAnnotation org.pdfbox.pdmodel.interactive.annotation.PDAnnotationMarkup org.pdfbox.pdmodel.interactive.annotation.PDAnnotationSquareCircle
PDAnnotationSquareCircle | public class PDAnnotationSquareCircle extends PDAnnotationMarkup (Code) | | This is the class that represents a rectangular or eliptical annotation
Introduced in PDF 1.3 specification .
author: Paul King version: $Revision: 1.1 $ |
SUB_TYPE_CIRCLE | final public static String SUB_TYPE_CIRCLE(Code) | | Constant for an Eliptical type of annotation.
|
SUB_TYPE_SQUARE | final public static String SUB_TYPE_SQUARE(Code) | | Constant for a Rectangular type of annotation.
|
PDAnnotationSquareCircle | public PDAnnotationSquareCircle(String subType)(Code) | | Creates a Circle or Square annotation of the specified sub type.
Parameters: subType - the subtype the annotation represents. |
PDAnnotationSquareCircle | public PDAnnotationSquareCircle(COSDictionary field)(Code) | | Creates a Line annotation from a COSDictionary, expected to be a correct
object definition.
Parameters: field - the PDF objet to represent as a field. |
getBorderEffect | public PDBorderEffectDictionary getBorderEffect()(Code) | | This will retrieve the border effect dictionary, specifying effects to be
applied used in drawing the line.
The border effect dictionary |
getInteriorColour | public PDGamma getInteriorColour()(Code) | | This will retrieve the interior colour of the drawn area
Colour is in DeviceRGB colourspace.
PDGamma object representing the colour. |
getRectDifference | public PDRectangle getRectDifference()(Code) | | This will get the rectangle difference rectangle. Giving the difference
between the annotations rectangle and where the drawing occurs.
(To take account of any effects applied through the BE entry forexample)
the rectangle difference |
getSubtype | public String getSubtype()(Code) | | This will retrieve the sub type (and hence appearance, AP taking precedence)
For this annotation.
The subtype of this annotation, see the SUB_TYPE_XXX constants. |
setBorderEffect | public void setBorderEffect(PDBorderEffectDictionary be)(Code) | | This will set the border effect dictionary, specifying effects to be applied
when drawing the line.
Parameters: be - The border effect dictionary to set. |
setInteriorColour | public void setInteriorColour(PDGamma ic)(Code) | | This will set interior colour of the drawn area
Colour is in DeviceRGB colourspace.
Parameters: ic - colour in the DeviceRGB colourspace. |
setRectDifference | public void setRectDifference(PDRectangle rd)(Code) | | This will set the rectangle difference rectangle. Giving the difference
between the annotations rectangle and where the drawing occurs.
(To take account of any effects applied through the BE entry forexample)
Parameters: rd - the rectangle difference |
setSubtype | public void setSubtype(String subType)(Code) | | This will set the sub type (and hence appearance, AP taking precedence) For
this annotation. See the SUB_TYPE_XXX constants for valid values.
Parameters: subType - The subtype of the annotation |
|
|
|