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.
(一个 32 位无符号整数,用于定义源像素、播放设备上下文中的当前画笔和目标像素如何组合以形成新图像。)
|
protected java.awt.geom.Rectangle2D |
srcBounds
the source rectangle
(源矩形)
|
protected HwmfBitmap16 |
target
A variable-sized Bitmap16 Object that defines source image content.
(定义源图像内容的可变大小的 Bitmap16 对象。)
|
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
(接口 HwmfRecord 中的 getWmfRecordType)
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecord
init
in interface
HwmfRecord
(接口 HwmfRecord 中的 init)
leis
- the little endian input stream
(leis - 小端输入流)
java.io.IOException
(java.io.IOException)
public void draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface
HwmfRecord
(在接口 HwmfRecord 中绘制)
ctx
- the graphics context to modify
(ctx - 要修改的图形上下文)
public 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
(接口 GenericRecord 中的 getGenericProperties)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.