Class RMImageFillPdfr
- java.lang.Object
- 
- com.inductiveautomation.rm.pdf.writer.RMImageFillPdfr
 
- 
 public class RMImageFillPdfr extends java.lang.ObjectThis RMFillPdfr subclass writes PDF for RMImageFill.
- 
- 
Constructor SummaryConstructors Constructor Description RMImageFillPdfr()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.ObjectaddObjectToWriter(PDFFile pFile, java.lang.Object anObj, RMPDFWriter aWriter)This function recurses through a tree of PDF objects and make sure that any objects that are referenced within the tree get added to the xref table.static java.lang.StringgetColorSpace(RMImageData anImageData, RMPDFWriter aWriter)Returns the pdf colorspace string for a given image data.static voidwriteImageData(RMImageData anImageData, RMPDFWriter aWriter)Writes the PDF to embed the actual image bytes.static voidwriteImageDataPDF(RMImageData anImageData, RMPDFWriter aWriter)static voidwriteImageFill(RMImageFill anImageFill, RMPath aPath, RMRect bounds, RMPDFWriter aWriter)Writes given RMImageFill to a PDF file.static voidwriteImageFill(RMShape aShape, RMImageFill anImageFill, RMPDFWriter aWriter)Writes given RMImageFill to a PDF file.
 
- 
- 
- 
Method Detail- 
writeImageFillpublic static void writeImageFill(RMShape aShape, RMImageFill anImageFill, RMPDFWriter aWriter) Writes given RMImageFill to a PDF file.
 - 
writeImageFillpublic static void writeImageFill(RMImageFill anImageFill, RMPath aPath, RMRect bounds, RMPDFWriter aWriter) Writes given RMImageFill to a PDF file.
 - 
writeImageDatapublic static void writeImageData(RMImageData anImageData, RMPDFWriter aWriter) Writes the PDF to embed the actual image bytes.
 - 
getColorSpacepublic static java.lang.String getColorSpace(RMImageData anImageData, RMPDFWriter aWriter) Returns the pdf colorspace string for a given image data.
 - 
writeImageDataPDFpublic static void writeImageDataPDF(RMImageData anImageData, RMPDFWriter aWriter) 
 - 
addObjectToWriterpublic static java.lang.Object addObjectToWriter(PDFFile pFile, java.lang.Object anObj, RMPDFWriter aWriter) This function recurses through a tree of PDF objects and make sure that any objects that are referenced within the tree get added to the xref table. Starting at the root node, we traverse every object in the tree. If any of the nodes are indirect references (ie. the pdf "n 0 R") we add the object that is referenced to the xref table. Returns a fully resolved object suitable for inclusion in the file.
 
- 
 
-