EmfBlendFunction Class

Summary: A structure that specifies the blending operations for source and destination bitmaps.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfBlendFunction

Aspose.Imaging Version: 24.6.0

Constructors

NameDescription
EmfBlendFunction()Initializes a new instance of the EmfBlendFunction class
EmfBlendFunction(dword_data)Initializes a new instance of the EmfBlendFunction class.

Properties

NameTypeAccessDescription
alpha_formatEmfBlendFunction.AlphaFormatEnumrGets a structure that specifies how source and destination pixels are
interpreted with respect to alpha transparency.
blend_flagsbyterGets the blend flags.
This value MUST be 0x00 and MUST be ignored.
blend_operationbyterGets 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.
src_constant_alphabyterGets 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.

Methods

NameDescription
to_int()Converts the string representation of a number to an integer.

Constructor: EmfBlendFunction()

 EmfBlendFunction() 

Initializes a new instance of the EmfBlendFunction class

Constructor: EmfBlendFunction(dword_data)

 EmfBlendFunction(dword_data) 

Initializes a new instance of the EmfBlendFunction class.

Parameters:

ParameterTypeDescription
dword_dataintThe dword data.

Method: to_int()

 to_int() 

Converts the string representation of a number to an integer.

Returns

TypeDescription
intThe DWORD value of structure.