Interface ByteArrayResult

All Known Implementing Classes:
PDFCanvas, PNGCanvas, SVGCanvas

public interface ByteArrayResult
Interface for returning a result as a byte array.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Gets the resulting graphics as a byte array.
  • Method Details

    • toByteArray

      byte[] toByteArray() throws IOException
      Gets the resulting graphics as a byte array.
      Returns:
      the byte array
      Throws:
      IOException - thrown if the construction of the byte array fails