content
The stream content.
Stream that contains graphics for the PDF document that
can be generated via the PDFGraphics2D class. The Page
class will create a GraphicsStream instance to represent its
content. You won't normally interact directly with this class, it is
intended that the PDFGraphics2D class drives the calls to the
methods of this class.private intprivate floatprivate ByteArrayOutputStreamprivate Fontprivate DecimalFormatprivate Pageprivate AffineTransformprivate DecimalFormatprivate voidaddContent(String s) (package private) voidapplyAlpha(int alpha) (package private) void(package private) voidapplyComposite(AlphaComposite alphaComp) (package private) void(package private) voidGradientPaint for filling.(package private) voidRadialGradientPaint for filling.(package private) voiddrawString(java.lang.String, float, float)).(package private) void(package private) void(package private) voidGradientPaint for stroking.(package private) voidRadialGradientPaint for stroking.(package private) void(package private) void(package private) void(x, y, w, h).(package private) void(package private) voiddrawPath2D(Path2D path) (package private) voiddrawString(String text,
float x,
float y) (package private) voidfillPath2D(Path2D path) private StringgeomDP(double d) private StringgetPDFPath(Path2D path) Path2D instance to a PDF
path string.byte[](package private) void(package private) void(package private) voidprivate StringtransformDP(double d) addFilter, createDictionary, getObjectBytes, removeFiltersgetGeneration, getNumber, getReference, toPDFBytesnumber - the PDF object number.page - the parent page (null not permitted).t - the transform (null not permitted).t - the transform (null not permitted).t - the transform (null not permitted).clip - the clip (null not permitted).BasicStroke this method will do nothing.s - the stroke.c - the color (null not permitted).c - the color (null not permitted).GradientPaint for stroking.gp - the gradient paint (null not permitted).RadialGradientPaint for stroking.rgp - the gradient paint (null not permitted).GradientPaint for filling.gp - the gradient paint (null not permitted).RadialGradientPaint for filling.rgp - the gradient paint (null not permitted).alphaComp - the alpha composite (null permitted).alpha - the new alpha value (in the range 0
to 255).line - the line (null not permitted).path - the path (null not permitted).path - the path (null not permitted).drawString(java.lang.String, float, float)).font - the font.text - the text.x - the x-coordinate.y - the y-coordinate.(x, y, w, h).img - the image.x - the x-coordinate of the destination.y - the y-coordinate of the destination.w - the width of the destination.h - the height of the destination.StreamgetRawStreamData in class Stream