public static class HemfFill.EmfStretchBlt extends HwmfFill.WmfStretchDib implements HemfRecord
| Modifier and Type | Field and Description |
|---|---|
protected HwmfColorRef |
bkColorSrc
A WMF ColorRef object that specifies the background color of the source bitmap.
|
protected java.awt.geom.Rectangle2D |
bounds |
protected java.awt.geom.AffineTransform |
xFormSrc
An XForm object that specifies a world-space to page-space transform to apply to the source bitmap.
|
bitmap, colorUsage, dstBounds, rasterOperation, srcBounds| Constructor and Description |
|---|
EmfStretchBlt() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
|
HwmfColorRef |
getBkColorSrc() |
java.awt.geom.Rectangle2D |
getBounds() |
HemfRecordType |
getEmfRecordType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
java.lang.Enum |
getGenericRecordType() |
java.awt.geom.AffineTransform |
getXFormSrc() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
protected boolean |
srcEqualsDstDimension() |
java.lang.String |
toString() |
draw, getBitmap, getBMPData, getColorUsage, getDstBounds, getImage, getRasterOperation, getSrcBounds, getWmfRecordType, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetHeadergetGenericChildrengetImageprotected final java.awt.geom.Rectangle2D bounds
protected final java.awt.geom.AffineTransform xFormSrc
protected final HwmfColorRef bkColorSrc
public HemfRecordType getEmfRecordType()
getEmfRecordType in interface HemfRecordpublic long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecordinit in interface HemfRecordleis - the little endian input streamrecordSize - the size limit for this recordrecordId - the id of the HemfRecordTypejava.io.IOException - when the inputstream is malformedprotected boolean srcEqualsDstDimension()
public void draw(HemfGraphics ctx)
HemfRecorddraw in interface HemfRecordctx - the drawing contextpublic java.lang.String toString()
toString in class HwmfFill.WmfStretchDibpublic java.awt.geom.Rectangle2D getBounds()
public java.awt.geom.AffineTransform getXFormSrc()
public HwmfColorRef getBkColorSrc()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordgetGenericProperties in class HwmfFill.WmfStretchDibpublic java.lang.Enum getGenericRecordType()
getGenericRecordType in interface GenericRecordgetGenericRecordType in interface HemfRecordgetGenericRecordType in interface HwmfRecordCopyright 2020 The Apache Software Foundation or its licensors, as applicable.