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.
|
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.
|
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.
|
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.
|
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
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface HemfRecord
leis
- the little endian input streamrecordSize
- the size limit for this recordrecordId
- the id of the HemfRecordType
java.io.IOException
- when the inputstream is malformedpublic 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.