@Internal public class HemfHeader extends java.lang.Object implements HemfRecord
ImageHeaderEMF
Constructor and Description |
---|
HemfHeader() |
Modifier and Type | Method and Description |
---|---|
long |
getbOpenGL() |
java.awt.geom.Rectangle2D |
getBoundsRectangle() |
long |
getBytes() |
long |
getCbPixelFormat() |
java.lang.String |
getDescription() |
java.awt.geom.Dimension2D |
getDeviceDimension() |
HemfRecordType |
getEmfRecordType() |
java.awt.geom.Rectangle2D |
getFrameRectangle() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getHandles() |
java.awt.geom.Dimension2D |
getMicroDimension() |
java.awt.geom.Dimension2D |
getMilliDimension() |
long |
getNPalEntries() |
long |
getOffPixelFormat() |
long |
getRecords() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
boolean |
isHasExtension1() |
boolean |
isHasExtension2() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
draw, getGenericRecordType, setHeader
getGenericChildren
public java.awt.geom.Rectangle2D getBoundsRectangle()
public java.awt.geom.Rectangle2D getFrameRectangle()
public long getBytes()
public long getRecords()
public int getHandles()
public java.lang.String getDescription()
public long getNPalEntries()
public boolean isHasExtension1()
public long getCbPixelFormat()
public long getOffPixelFormat()
public long getbOpenGL()
public boolean isHasExtension2()
public java.awt.geom.Dimension2D getDeviceDimension()
public java.awt.geom.Dimension2D getMilliDimension()
public java.awt.geom.Dimension2D getMicroDimension()
public java.lang.String toString()
toString
in class java.lang.Object
public HemfRecordType getEmfRecordType()
getEmfRecordType
in interface HemfRecord
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface HemfRecord
leis
- the little endian input streamrecordSize
- the size limit for this recordrecordId
- the id of the HemfRecordType
java.io.IOException
- when the inputstream is malformedpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.