Class HemfFill.EmfSetDiBitsToDevice

  • All Implemented Interfaces:
    GenericRecord, HemfRecord
    Enclosing class:
    HemfFill

    public static class HemfFill.EmfSetDiBitsToDevice
    extends java.lang.Object
    implements HemfRecord
    The EMR_SETDIBITSTODEVICE record specifies a block transfer of pixels from specified scanlines of a source bitmap to a destination rectangle.
    • Constructor Detail

      • EmfSetDiBitsToDevice

        public EmfSetDiBitsToDevice()
    • Method Detail

      • init

        public long init​(LittleEndianInputStream leis,
                         long recordSize,
                         long recordId)
                  throws java.io.IOException
        Description copied from interface: HemfRecord
        Init record from stream
        Specified by:
        init in interface HemfRecord
        Parameters:
        leis - the little endian input stream
        recordSize - the size limit for this record
        recordId - the id of the HemfRecordType
        Returns:
        count of processed bytes
        Throws:
        java.io.IOException - when the inputstream is malformed
      • getBounds

        public java.awt.geom.Rectangle2D getBounds()
      • getDest

        public java.awt.geom.Point2D getDest()
      • getSrc

        public java.awt.geom.Rectangle2D getSrc()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getGenericProperties

        public java.util.Map<java.lang.String,​java.util.function.Supplier<?>> getGenericProperties()
        Specified by:
        getGenericProperties in interface GenericRecord