public static class HemfFill.EmfStretchBlt extends HwmfFill.WmfStretchDib implements HemfRecord
HemfRecord.RenderBounds| Modifier and Type | Field and Description |
|---|---|
protected HwmfColorRef |
bkColorSrc
A WMF ColorRef object that specifies the background color of the source bitmap.
|
protected Rectangle2D |
bounds |
protected 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() |
Rectangle2D |
getBounds() |
HemfRecordType |
getEmfRecordType() |
Map<String,Supplier<?>> |
getGenericProperties() |
HemfRecordType |
getGenericRecordType() |
AffineTransform |
getXFormSrc() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
protected boolean |
srcEqualsDstDimension() |
String |
toString() |
draw, getBitmap, getBMPData, getColorUsage, getDstBounds, getImage, getRasterOperation, getSrcBounds, getWmfRecordType, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcalcBounds, setHeadergetGenericChildrengetImageprotected final Rectangle2D bounds
protected final AffineTransform xFormSrc
protected final HwmfColorRef bkColorSrc
public HemfRecordType getEmfRecordType()
getEmfRecordType in interface HemfRecordpublic long init(LittleEndianInputStream leis, long recordSize, long recordId) throws IOException
HemfRecordinit in interface HemfRecordleis - the little endian input streamrecordSize - the size limit for this recordrecordId - the id of the HemfRecordTypeIOException - when the inputstream is malformedprotected boolean srcEqualsDstDimension()
public void draw(HemfGraphics ctx)
HemfRecorddraw in interface HemfRecordctx - the drawing contextpublic String toString()
toString in class HwmfFill.WmfStretchDibpublic Rectangle2D getBounds()
public AffineTransform getXFormSrc()
public HwmfColorRef getBkColorSrc()
public Map<String,Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordgetGenericProperties in class HwmfFill.WmfStretchDibpublic HemfRecordType getGenericRecordType()
getGenericRecordType in interface GenericRecordgetGenericRecordType in interface HemfRecordgetGenericRecordType in interface HwmfRecord