Class ImagePrintJob.Builder

    • Field Detail

      • bitmap

        protected Bitmap bitmap
      • urlString

        protected String urlString
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • maxWidth

        public ImagePrintJob.Builder maxWidth()
        Forces the provided bitmap to be scaled down to the maximum allowed width.

        If used, this method must be invoked after the bitmap(Bitmap) method. This method performs possibly time-consuming calulations so it must be invoked on a background thread.

      • build

        public PrintJob build()
        Builds an instance. Performs some blocking IO so it must be invoked on a background thread.
        Specified by:
        build in class PrintJob.Builder