Class RMShapePdfr<T extends RMShape>
- java.lang.Object
-
- com.inductiveautomation.rm.pdf.writer.RMObjectPdfr<T>
-
- com.inductiveautomation.rm.pdf.writer.RMShapePdfr<T>
-
- Direct Known Subclasses:
RMImageShapePdfr
,RMPagePdfr
,RMTextShapePdfr
public class RMShapePdfr<T extends RMShape> extends RMObjectPdfr<T>
This RMObjectPdfr subclass writes PDF for RMShape.
-
-
Constructor Summary
Constructors Constructor Description RMShapePdfr()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RMShapePdfr
getPdfr(RMShape aShape)
Returns the shape pdfr for a shape.void
writePDF(T aShape, RMPDFWriter aWriter)
Writes a given RMShape hierarchy to a PDF file (recursively).protected void
writeShape(T aShape, RMPDFWriter aWriter)
Writes a given RMShape hierarchy to a PDF file (recursively).protected void
writeShapeAfter(T aShape, RMPDFWriter aWriter)
Writes a given RMShape hierarchy to a PDF file (recursively).protected void
writeShapeAll(T aShape, RMPDFWriter aWriter)
Writes the shape and then the shape's children.protected void
writeShapeBefore(T aShape, RMPDFWriter aWriter)
Writes a given RMShape hierarchy to a PDF file (recursively).protected void
writeShapeChildren(RMShape aShape, RMPDFWriter aWriter)
Writes a given RMShape hierarchy to a PDF file (recursively).-
Methods inherited from class com.inductiveautomation.rm.pdf.writer.RMObjectPdfr
getPdfr
-
-
-
-
Method Detail
-
writePDF
public void writePDF(T aShape, RMPDFWriter aWriter)
Writes a given RMShape hierarchy to a PDF file (recursively).- Overrides:
writePDF
in classRMObjectPdfr<T extends RMShape>
-
writeShapeBefore
protected void writeShapeBefore(T aShape, RMPDFWriter aWriter)
Writes a given RMShape hierarchy to a PDF file (recursively).
-
writeShapeAll
protected void writeShapeAll(T aShape, RMPDFWriter aWriter)
Writes the shape and then the shape's children.
-
writeShape
protected void writeShape(T aShape, RMPDFWriter aWriter)
Writes a given RMShape hierarchy to a PDF file (recursively).
-
writeShapeChildren
protected void writeShapeChildren(RMShape aShape, RMPDFWriter aWriter)
Writes a given RMShape hierarchy to a PDF file (recursively).
-
writeShapeAfter
protected void writeShapeAfter(T aShape, RMPDFWriter aWriter)
Writes a given RMShape hierarchy to a PDF file (recursively).
-
getPdfr
public static RMShapePdfr getPdfr(RMShape aShape)
Returns the shape pdfr for a shape.
-
-