Class HwmfText.WmfExtTextOut

    • Constructor Detail

      • WmfExtTextOut

        public WmfExtTextOut()
    • Method Detail

      • init

        public int init​(LittleEndianInputStream leis,
                        long recordSize,
                        int recordFunction)
                 throws java.io.IOException
        Description copied from interface: HwmfRecord
        Init record from stream
        Specified by:
        init in interface HwmfRecord
        Parameters:
        leis - the little endian input stream
        Returns:
        count of processed bytes
        Throws:
        java.io.IOException
      • draw

        public void draw​(HwmfGraphics ctx)
        Description copied from interface: HwmfRecord
        Apply the record settings to the graphics context
        Specified by:
        draw in interface HwmfRecord
        Parameters:
        ctx - the graphics context to modify
      • getText

        public java.lang.String getText​(java.nio.charset.Charset charset)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getReference

        public java.awt.geom.Point2D getReference()
      • getBounds

        public java.awt.geom.Rectangle2D getBounds()
      • 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
      • setCharsetProvider

        public void setCharsetProvider​(java.util.function.Supplier<java.nio.charset.Charset> provider)
        Specified by:
        setCharsetProvider in interface HwmfCharsetAware