public static class HwmfFill.WmfStretchBlt extends java.lang.Object implements HwmfRecord
Modifier and Type | Field and Description |
---|---|
protected java.awt.geom.Rectangle2D |
dstBounds
the destination rectangle
|
protected HwmfTernaryRasterOp |
rasterOperation
A 32-bit unsigned integer that defines how the source pixels, the current brush
in the playback device context, and the destination pixels are to be combined to form the new
image.
|
protected java.awt.geom.Rectangle2D |
srcBounds
the source rectangle
|
protected HwmfBitmap16 |
target
A variable-sized Bitmap16 Object that defines source image content.
|
Constructor and Description |
---|
WmfStretchBlt() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
java.awt.geom.Rectangle2D |
getDstBounds() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HwmfTernaryRasterOp |
getRasterOperation() |
java.awt.geom.Rectangle2D |
getSrcBounds() |
HwmfBitmap16 |
getTarget() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericRecordType
getGenericChildren
protected HwmfTernaryRasterOp rasterOperation
protected final java.awt.geom.Rectangle2D srcBounds
protected final java.awt.geom.Rectangle2D dstBounds
protected HwmfBitmap16 target
public HwmfRecordType getWmfRecordType()
getWmfRecordType
in interface HwmfRecord
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecord
init
in interface HwmfRecord
leis
- the little endian input streamjava.io.IOException
public void draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface HwmfRecord
ctx
- the graphics context to modifypublic java.lang.String toString()
toString
in class java.lang.Object
public HwmfTernaryRasterOp getRasterOperation()
public java.awt.geom.Rectangle2D getSrcBounds()
public java.awt.geom.Rectangle2D getDstBounds()
public HwmfBitmap16 getTarget()
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.