PDF4Java.Render Reference Documentation
com.o2sol.pdf4java.render.renderingsurfaces Package / PDFArgbByteBlockRenderingSurface Class / clear Method
Red value in 0 - 255 range.
Green value in 0 - 255 range.
Blue value in 0 - 255 range.
Alpha value in 0 - 255 range.
Collapse All Expand All
In This Topic

clear Method
In This Topic
Clears the rendering surface with the specified color.
Syntax

    public void clear(
       int r,
       int g,
       int b,
       int a
    )

#### Parameters

r
  Red value in 0 - 255 range.
g
  Green value in 0 - 255 range.
b
  Blue value in 0 - 255 range.
a
  Alpha value in 0 - 255 range.

See Also

#### Reference

PDFArgbByteBlockRenderingSurface Class
PDFArgbByteBlockRenderingSurface Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.