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
(在接口 HemfPlusObject.EmfPlusObjectData 中初始化)
java.io.IOException
(java.io.IOException)
public HemfPlusHeader.EmfPlusGraphicsVersion getGraphicsVersion()
getGraphicsVersion
in interface
HemfPlusObject.EmfPlusObjectData
(接口 HemfPlusObject.EmfPlusObjectData 中的 getGraphicsVersion)
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
(接口 HemfPlusObject.EmfPlusObjectData 中的 applyObject)
public java.awt.image.BufferedImage readGDIImage(byte[] data)
data
- the image data of all EmfPlusImage parts
(data - 所有 EmfPlusImage 部分的图像数据)
public java.lang.String toString()
toString
in class
java.lang.Object
public HemfPlusObject.EmfPlusObjectType getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.