org.apache.fop.pdf
Class PDFLink
org.apache.fop.pdf.PDFObject
|
+--org.apache.fop.pdf.PDFLink
- public class PDFLink
- extends PDFObject
class representing an /Annot object of /Subtype /Link
Field Summary |
(package private) PDFAction | action |
(package private) float | brx |
(package private) float | bry |
(package private) String | color |
(package private) float | ulx |
(package private) float | uly |
Constructor Summary |
PDFLink(int number, Rectangle r) create objects associated with a link annotation (GoToR) |
action
PDFAction action
brx
float brx
bry
float bry
color
String color
ulx
float ulx
uly
float uly
PDFLink
public PDFLink(int number, Rectangle r)
- create objects associated with a link annotation (GoToR)
- Parameters:
- number - the object's number
- producer - the application producing the PDF
setAction
public void setAction(PDFAction action)
toPDF
public byte[] toPDF()
- produce the PDF representation of the object
- Returns: the PDF
to Class java.lang.String
to Class org.apache.fop.pdf.PDFAction