public final class EmfBlendFunction extends Object
A structure that specifies the blending operations for source and destination bitmaps.
Modifier and Type | Class and Description |
---|---|
static class |
EmfBlendFunction.AlphaFormatEnum
A structure that specifies how source and destination pixels are
interpreted with respect to alpha transparency.
|
Constructor and Description |
---|
EmfBlendFunction(int dwordData)
Initializes a new instance of the
EmfBlendFunction class. |
Modifier and Type | Method and Description |
---|---|
byte |
getAlphaFormat()
Gets or sets a structure that specifies how source and destination pixels are
interpreted with respect to alpha transparency.
|
byte |
getBlendFlags()
Gets or sets This value MUST be 0x00 and MUST be ignored.
|
byte |
getBlendOperation()
Gets or sets the blend operation code.
|
byte |
getSrcConstantAlpha()
Gets or sets an 8-bit unsigned integer that specifies alpha transparency,
which determines the blend of the source and destination bitmaps.
|
void |
setAlphaFormat(byte value)
Gets or sets a structure that specifies how source and destination pixels are
interpreted with respect to alpha transparency.
|
void |
setBlendFlags(byte value)
Gets or sets This value MUST be 0x00 and MUST be ignored.
|
void |
setBlendOperation(byte value)
Gets or sets the blend operation code.
|
void |
setSrcConstantAlpha(byte value)
Gets or sets an 8-bit unsigned integer that specifies alpha transparency,
which determines the blend of the source and destination bitmaps.
|
public EmfBlendFunction(int dwordData)
Initializes a new instance of the EmfBlendFunction
class.
dwordData
- The dword data.public byte getBlendOperation()
Gets or sets the blend operation code. The only source and destination blend operation that has been defined is 0x00, which specifies that the source bitmap MUST be combined with the destination bitmap based on the alpha transparency values of the source pixels. See the following equations for details.
public void setBlendOperation(byte value)
Gets or sets the blend operation code. The only source and destination blend operation that has been defined is 0x00, which specifies that the source bitmap MUST be combined with the destination bitmap based on the alpha transparency values of the source pixels. See the following equations for details.
public byte getBlendFlags()
Gets or sets This value MUST be 0x00 and MUST be ignored.
public void setBlendFlags(byte value)
Gets or sets This value MUST be 0x00 and MUST be ignored.
public byte getSrcConstantAlpha()
Gets or sets an 8-bit unsigned integer that specifies alpha transparency, which determines the blend of the source and destination bitmaps. This value MUST be used on the entire source bitmap. The minimum alpha transparency value, zero, corresponds to completely transparent the maximum value, 0xFF, corresponds to completely opaque. In effect, a value of 0xFF specifies that the per-pixel alpha values determine the blend of the source and destination bitmaps. See the equations later in this section for details.
public void setSrcConstantAlpha(byte value)
Gets or sets an 8-bit unsigned integer that specifies alpha transparency, which determines the blend of the source and destination bitmaps. This value MUST be used on the entire source bitmap. The minimum alpha transparency value, zero, corresponds to completely transparent the maximum value, 0xFF, corresponds to completely opaque. In effect, a value of 0xFF specifies that the per-pixel alpha values determine the blend of the source and destination bitmaps. See the equations later in this section for details.
public byte getAlphaFormat()
Gets or sets a structure that specifies how source and destination pixels are interpreted with respect to alpha transparency.
public void setAlphaFormat(byte value)
Gets or sets a structure that specifies how source and destination pixels are interpreted with respect to alpha transparency.
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.