public static class HemfFill.EmfSetDiBitsToDevice extends java.lang.Object implements HemfRecord
Modifier and Type | Field and Description |
---|---|
protected HwmfBitmapDib |
bitmap |
protected java.awt.geom.Rectangle2D |
bounds |
protected java.awt.geom.Point2D |
dest |
protected java.awt.geom.Rectangle2D |
src |
protected HwmfFill.ColorUsage |
usageSrc |
Constructor and Description |
---|
EmfSetDiBitsToDevice() |
Modifier and Type | Method and Description |
---|---|
HwmfBitmapDib |
getBitmap() |
java.awt.geom.Rectangle2D |
getBounds() |
java.awt.geom.Point2D |
getDest() |
HemfRecordType |
getEmfRecordType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
java.awt.geom.Rectangle2D |
getSrc() |
HwmfFill.ColorUsage |
getUsageSrc() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calcBounds, draw, getGenericRecordType, setHeader
getGenericChildren
protected final java.awt.geom.Rectangle2D bounds
protected final java.awt.geom.Point2D dest
protected final java.awt.geom.Rectangle2D src
protected HwmfFill.ColorUsage usageSrc
protected final HwmfBitmapDib bitmap
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.awt.geom.Rectangle2D getBounds()
public java.awt.geom.Point2D getDest()
public java.awt.geom.Rectangle2D getSrc()
public HwmfFill.ColorUsage getUsageSrc()
public HwmfBitmapDib getBitmap()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.