Class HemfDraw.EmfFlattenPath

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

    public static class HemfDraw.EmfFlattenPath
    extends java.lang.Object
    This record transforms any curves in the selected path into the playback device context; each curve MUST be turned into a sequence of lines.
    • Constructor Detail

      • EmfFlattenPath

        public EmfFlattenPath()
    • 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
      • getGenericProperties

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