PDF4Java.Render Reference Documentation
com.o2sol.pdf4java.render.renderingsurfaces Package / PDFRgbaByteBlockRenderingSurface 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.
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