public static class HemfPlusImage.EmfPlusImage extends java.lang.Object implements HemfPlusObject.EmfPlusObjectData
Constructor and Description |
---|
EmfPlusImage() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isContinuedRecord
getGenericChildren
public HemfPlusImage.EmfPlusImageDataType getImageDataType()
public byte[] getImageData()
public HemfPlusImage.EmfPlusPixelFormat getPixelFormat()
public HemfPlusImage.EmfPlusBitmapDataType getBitmapType()
public int getBitmapWidth()
public int getBitmapHeight()
public int getBitmapStride()
public HemfPlusImage.EmfPlusMetafileDataType getMetafileType()
public long init(LittleEndianInputStream leis, long dataSize, HemfPlusObject.EmfPlusObjectType objectType, int flags) throws java.io.IOException
init
in interface HemfPlusObject.EmfPlusObjectData
java.io.IOException
public HemfPlusHeader.EmfPlusGraphicsVersion getGraphicsVersion()
getGraphicsVersion
in interface HemfPlusObject.EmfPlusObjectData
public java.awt.geom.Rectangle2D getBounds(java.util.List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)
public byte[] getRawData(java.util.List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)
public void applyObject(HemfGraphics ctx, java.util.List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)
applyObject
in interface HemfPlusObject.EmfPlusObjectData
public java.awt.image.BufferedImage readGDIImage(byte[] data)
data
- the image data of all EmfPlusImage partspublic java.lang.String toString()
toString
in class java.lang.Object
public HemfPlusObject.EmfPlusObjectType getGenericRecordType()
getGenericRecordType
in interface GenericRecord
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.