Uses of Class
org.faceless.pdf2.PDFCanvas
-
Packages that use PDFCanvas Package Description org.faceless.pdf2 Contains the classes used to create a PDF documentorg.faceless.pdf2.viewer2.feature Contains a list of all the features that are available to the PDFViewer. -
-
Uses of PDFCanvas in org.faceless.pdf2
Methods in org.faceless.pdf2 that return PDFCanvas Modifier and Type Method Description PDFCanvas
OpenTypeFont.SVG. generate(String svg, int em, int ax, int ay, Color currentColor, Rectangle2D bounds, OpenTypeFont.Palette palette)
Generate a PDFCanvas from the supplied SVG.PDFCanvas
WidgetAnnotation. getButtonImage()
For aFormButton
annotation, return the image that is drawn on the button, ornull
if the field is not a button or no image is specified.PDFCanvas
BarCode. getCanvas()
Return a newPDFCanvas
containing the barcode.PDFCanvas
EGIZSignatureHandler. getLayerAppearance(String value, PDFStyle style)
PDFCanvas
PKCS7SignatureHandler. getLayerAppearance(String layername, PDFStyle textstyle)
abstract PDFCanvas
SignatureHandler. getLayerAppearance(String layername, PDFStyle style)
Return aPDFCanvas
for the specified layer.PDFCanvas
WidgetAnnotation. getReplacementImage(String state)
Return the specified replacement appearance, as set by#setReplacementAppearance
Methods in org.faceless.pdf2 with parameters of type PDFCanvas Modifier and Type Method Description WidgetAnnotation
FormSignature. addAnnotation(PDFPage page, float x1, float y1, float x2, float y2, PDFCanvas appearance)
Add an annotation for this Signature to the specified page at the specified location, with the specified appearance.void
PDFCanvas. drawCanvas(PDFCanvas canvas, float x1, float y1, float x2, float y2)
Draw aPDFCanvas
at the specified position on the page.void
PDFDrawable. drawCanvas(PDFCanvas canvas, float x1, float y1, float x2, float y2)
Draw aPDFCanvas
at the specified position on the page.void
PDFPage. drawCanvas(PDFCanvas canvas, float x1, float y1, float x2, float y2)
Draw aPDFCanvas
at the specified position on the page.void
EGIZSignatureHandler.Factory. populateCanvas(PDFCanvas canvas, int width, int height, EGIZSignatureHandler handler)
Populate the supplied canvas with the signature appearance.void
AnnotationRichMedia. setAppearance(PDFCanvas canvas)
If the RichMedia is not loaded yet, or cannot be loaded for some reason, this method can set a fallback visualization for the annotation.void
WidgetAnnotation. setButtonImage(PDFCanvas image, char scale, boolean anamorphic, double x, double y)
ForFormButton
annotations, set the image to display on the button.void
AnnotationStamp. setCanvas(String name, PDFCanvas canvas)
Set this stamp to use the specified canvasvoid
AcrobatSignatureHandlerFactory. setCustomAppearance(PDFCanvas canvas, float x1, float y1, float x2, float y2)
Set a custom appearance for this signature.void
AnnotationFile. setCustomAppearance(String type, PDFCanvas canvas)
Set a custom appearance on thisAnnotationFile
.void
GlobalSignDSSManager. setCustomAppearance(PDFCanvas canvas, float x1, float y1, float x2, float y2)
Set a custom appearance for this signature.void
PKCS7SignatureHandler. setCustomAppearance(PDFCanvas canvas, float x1, float y1, float x2, float y2)
Set a custom appearance for this signature.void
PDFCanvas. setMask(PDFCanvas mask, boolean alpha)
Set the mask which will be applied when this canvas is drawn to a parent PDFCanvas or PDFPage.boolean
WidgetAnnotation. setReplacementImage(PDFCanvas image, String state)
Set a "replacement image" to completely override the appearance of the widget with a customPDFCanvas
.Constructors in org.faceless.pdf2 with parameters of type PDFCanvas Constructor Description AnnotationStamp(String name, PDFCanvas canvas)
Create a new Stamp from the specified canvas.PDFCanvas(PDFCanvas canvas)
Create a new Canvas that's a clone of the specifiedPDFCanvas
.PDFPattern(PDFCanvas canvas, float x1, float y1, float x2, float y2)
Create a pattern from the specifiedPDFCanvas
. -
Uses of PDFCanvas in org.faceless.pdf2.viewer2.feature
Methods in org.faceless.pdf2.viewer2.feature that return PDFCanvas Modifier and Type Method Description protected PDFCanvas
KeyStoreSignatureProvider. getSignatureAppearance(KeyStoreManager manager, KeyStore keystore, String alias, float width, float height)
Return the PDFCanvas to be used as a SignatureAppearance for this signature, or null to use the default
-