Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal sourceImage As RasterImage, _ ByVal sourcePoint As Point, _ ByVal destinationRectangle As Rectangle, _ ByVal opacity As Integer, _ ByVal maskImage As RasterImage, _ ByVal underlayImage As RasterImage, _ ByVal underlayOffset As Point _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public TextureAlphaBlendCommand( RasterImage sourceImage, Point sourcePoint, Rectangle destinationRectangle, int opacity, RasterImage maskImage, RasterImage underlayImage, Point underlayOffset ) |
Managed Extensions for C++ | |
---|---|
public: TextureAlphaBlendCommand( RasterImage sourceImage, Point sourcePoint, Rectangle destinationRectangle, int opacity, RasterImage maskImage, RasterImage underlayImage, Point underlayOffset ) |
C++/CLI | |
---|---|
public: TextureAlphaBlendCommand( RasterImage sourceImage, Point sourcePoint, Rectangle destinationRectangle, int opacity, RasterImage maskImage, RasterImage underlayImage, Point underlayOffset ) |
Parameters
- sourceImage
- RasterImage object that references the source image.
- sourcePoint
- Point structure that contains the origin of the source rectangle.
- destinationRectangle
- Rectangle structure that contains the destination rectangle.
- opacity
- Opacity value used when combining the areas from the result of feathering and destination images. Valid values range from 0 to 255.
- maskImage
- RasterImage object that references the fade mask, if you want to combine the two images just with opacity set this parameter to null.
- underlayImage
- RasterImage that references the image to be used as the underlying image. The command will use this image to underlay the mask image. You could ignore this parameter effect by passing null.
- underlayOffset
- References the underlay image offset with respect to the destination image. The command will use this point to calculate the parts of the underlay image that will be applied to the mask image. Using this point gives the user the ability to provide the feel of continuous texture when applying this command to neighboring parts inside the destination image using the same or different mask. If underlayImage is null also set this parameter to null.
Visual Basic | Copy Code |
---|---|
ImageProcessing.Effects.TextureAlphaBlendCommand.TextureAlphaBlendConstructor |
C# | Copy Code |
---|---|
ImageProcessing.Effects.TextureAlphaBlendCommand.TextureAlphaBlendConstructor |
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family