Class EmfAlphaBlend
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)
The EMR_ALPHABLEND record specifies a block transfer of pixels from a source bitmap to adestination rectangle, including alpha transparency data, according to a specified blending operation.
public sealed class EmfAlphaBlend : EmfBitmapRecordType
{
public BlendFunction Function;
public byte[] BlendBytes;
public int SizeOfBlendRgb;
}
Inheritance
object ← MetaObject ← EmfRecord ← EmfBitmapRecordType ← EmfAlphaBlend
Inherited Members
EmfRecord.Type , EmfRecord.Size , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
EmfAlphaBlend(EmfRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfAlphaBlend class.
public EmfAlphaBlblend(EmfRecord source)
{
}
Parameters
source
EmfRecord
The source.
Properties
BkSrcArgb32Color
Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8 that specifies thebackground color of the source bitmap.
public int BkSrcArgb32Color
{
get;
set;
}
Property Value
BlendFunction
Gets or sets a structure that specifies the blending operations for source anddestination bitmaps
public EmfBlendFunction BlendFunction
{
get;
set;
}
Property Value
Bounds
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines thedestination bounding rectangle in device units.
public Rectangle Bounds
{
get;
set;
}
Property Value
CxDest
Gets or sets a 32-bit signed integer that specifies the logical width of the destinationrectangle. This value MUST be greater than zero.
public int CxDest
{
get;
set;
}
Property Value
CxSrc
Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle.This value MUST be greater than zero.
public int CxSrc
{
get;
set;
}
Property Value
CyDest
Gets or sets a 32-bit signed integer that specifies the logical height of the destinationrectangle. This value MUST be greater than zero.
public int CyDest
{
get;
set;
}
Property Value
CySrc
Gets or sets a 32-bit signed integer that specifies the logical height of the sourcerectangle. This value MUST be greater than zero.
public int CySrc
{
get;
set;
}
Property Value
SourceBitmap
Gets or sets a buffer containing the source bitmap, which is not required to becontiguous with the fixed portion of the EMR_ALPHABLEND record. Accordingly, fields in thisbuffer that are labeled “UndefinedSpace” are optional and MUST be ignored.
public WmfDeviceIndependentBitmap SourceBitmap
{
get;
set;
}
Property Value
UsageSrc
Gets or sets a 32-bit unsigned integer that specifies how to interpret values in thecolor table in the source bitmap header. This value MUST be in the DIBColors enumeration (section 2.1.9).
public EmfDibColors UsageSrc
{
get;
set;
}
Property Value
XDest
Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-leftcorner of the destination rectangle.
public int XDest
{
get;
set;
}
Property Value
XSrc
Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-leftcorner of the source rectangle.
public int XSrc
{
get;
set;
}
Property Value
XformSr
Gets or sets an XForm object (section 2.2.28) that specifies a world-space to page-space transform to apply to the source bitmap.
public Matrix XformSr
{
get;
set;
}
Property Value
YDest
Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-leftcorner of the destination rectangle.
public int YDest
{
get;
set;
}
Property Value
YSrc
Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-leftcorner of the source rectangle.
public int YSrc
{
get;
set;
}