EmfBlendFunction
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct
public class EmfBlendFunction extends Struct<EmfBlendFunction>
A structure that specifies the blending operations for source and destination bitmaps.
Constructors
Constructor | Description |
---|---|
EmfBlendFunction() | |
EmfBlendFunction(int dwordData) | Initializes a new instance of the EmfBlendFunction class. |
Methods
Method | Description |
---|---|
getBlendOperation() | Gets the blend operation code. |
getBlendFlags() | Gets the blend flags. |
getSrcConstantAlpha() | Gets an 8-bit unsigned integer that specifies alpha transparency, which determines the blend of the source and destination bitmaps. |
getAlphaFormat() | Gets a structure that specifies how source and destination pixels are interpreted with respect to alpha transparency. |
toInt() | Converts the string representation of a number to an integer. |
CloneTo(EmfBlendFunction that) | |
Clone() | |
equals(Object obj) | |
hashCode() | |
isEquals(EmfBlendFunction obj1, EmfBlendFunction obj2) |
EmfBlendFunction()
public EmfBlendFunction()
EmfBlendFunction(int dwordData)
public EmfBlendFunction(int dwordData)
Initializes a new instance of the EmfBlendFunction
class.
Parameters:
Parameter | Type | Description |
---|---|---|
dwordData | int | The dword data. |
getBlendOperation()
public byte getBlendOperation()
Gets 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.
Returns: byte
getBlendFlags()
public byte getBlendFlags()
Gets the blend flags. This value MUST be 0x00 and MUST be ignored.
Returns: byte
getSrcConstantAlpha()
public byte getSrcConstantAlpha()
Gets 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.
Returns: byte
getAlphaFormat()
public byte getAlphaFormat()
Gets a structure that specifies how source and destination pixels are interpreted with respect to alpha transparency.
Returns: byte
toInt()
public int toInt()
Converts the string representation of a number to an integer.
Returns: int - The DWORD value of structure.
CloneTo(EmfBlendFunction that)
public void CloneTo(EmfBlendFunction that)
Parameters:
Parameter | Type | Description |
---|---|---|
that | EmfBlendFunction |
Clone()
public EmfBlendFunction Clone()
Returns: EmfBlendFunction
equals(Object obj)
public boolean equals(Object obj)
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object |
Returns: boolean
hashCode()
public int hashCode()
Returns: int
isEquals(EmfBlendFunction obj1, EmfBlendFunction obj2)
public static boolean isEquals(EmfBlendFunction obj1, EmfBlendFunction obj2)
Parameters:
Parameter | Type | Description |
---|---|---|
obj1 | EmfBlendFunction | |
obj2 | EmfBlendFunction |
Returns: boolean