public static class HemfFill.EmfAlphaBlend extends java.lang.Object implements HemfRecord
Modifier and Type | Field and Description |
---|---|
protected byte |
alphaFormat
A byte that specifies how source and destination pixels are interpreted with respect to alpha transparency.
(一个字节,指定如何根据 Alpha 透明度解释源像素和目标像素。)
|
protected HwmfBitmapDib |
bitmap |
protected HwmfColorRef |
bkColorSrc
the background color of the source bitmap.
(源位图的背景颜色。)
|
protected byte |
blendFlags
This value MUST be 0x00 and MUST be ignored.
(这个值必须是 0x00 并且必须被忽略。)
|
protected byte |
blendOperation
The blend operation code.
(混合操作代码。)
|
protected java.awt.geom.Rectangle2D |
bounds
the destination bounding rectangle in device units
(以设备为单位的目标边界矩形)
|
protected java.awt.geom.Rectangle2D |
destRect
the destination rectangle
(目标矩形)
|
protected int |
srcConstantAlpha
An 8-bit unsigned integer that specifies alpha transparency, which determines the blend of the source and destination bitmaps.
(一个 8 位无符号整数,指定 alpha 透明度,它确定源位图和目标位图的混合。)
|
protected java.awt.geom.Rectangle2D |
srcRect
the source rectangle
(源矩形)
|
protected HwmfFill.ColorUsage |
usageSrc
A 32-bit unsigned integer that specifies how to interpret values in the color table in the source bitmap header.
(一个 32 位无符号整数,指定如何解释源位图标头中颜色表中的值。)
|
protected java.awt.geom.AffineTransform |
xFormSrc
a world-space to page-space transform to apply to the source bitmap.
(应用于源位图的世界空间到页面空间的转换。)
|
Constructor and Description |
---|
EmfAlphaBlend() |
Modifier and Type | Method and Description |
---|---|
HemfRecordType |
getEmfRecordType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
long |
init(LittleEndianInputStream leis, long recordSize, long recordId)
Init record from stream
(从流初始化记录)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calcBounds, draw, getGenericRecordType, setHeader
getGenericChildren
protected final java.awt.geom.Rectangle2D bounds
protected final java.awt.geom.Rectangle2D destRect
protected final java.awt.geom.Rectangle2D srcRect
protected byte blendOperation
protected byte blendFlags
protected int srcConstantAlpha
protected byte alphaFormat
protected final java.awt.geom.AffineTransform xFormSrc
protected final HwmfColorRef bkColorSrc
protected HwmfFill.ColorUsage usageSrc
protected final HwmfBitmapDib bitmap
public HemfRecordType getEmfRecordType()
getEmfRecordType
in interface
HemfRecord
(接口 HemfRecord 中的 getEmfRecordType)
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface
HemfRecord
(在接口 HemfRecord 中初始化)
leis
- the little endian input stream
(leis - 小端输入流)
recordSize
- the size limit for this record
(recordSize - 此记录的大小限制)
recordId
- the id of the
HemfRecordType
(recordId - HemfRecordType 的 id)
java.io.IOException
- when the inputstream is malformed
(java.io.IOException - 当输入流格式错误时)
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.