Visual Basic (Declaration) | |
---|---|
Public Class CanvasCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class CanvasCommand : RasterCommand, IRasterCommand |
Managed Extensions for C++ | |
---|---|
public __gc class CanvasCommand : public RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class CanvasCommand : public RasterCommand, IRasterCommand |
Visual Basic | Copy Code |
---|---|
ImageProcessing.SpecialEffects.CanvasCommand |
C# | Copy Code |
---|---|
ImageProcessing.SpecialEffects.CanvasCommand |
CanvasCommand combines two images, superimposing one image on another image that is used like a canvas. As an example, if you use the following figure: And you use the following figure as the canvas image: And you call CanvasCommand using the following values:
The following figure results:Parameter Value Transparency 90 Emboss 117 XOffset 0 YOffset 0 Flags CanvasCommandFlags.TileShift TilesOffset 0 In the following figure the rafting image has been combined with the canvas image using the same values, except that the CanvasCommandFlags.TileFit flag is used and so instead of tiling the canvas image has been stretched to fit the dimensions of the rafting image: Other commands that allow you to combine images include:
BumpCommand
CombineCommand
CombineWrapCommand
TextureAlphaBlendCommand
UnderlayCommand
For more information on this and other commands that can be used to combine images, Refer to Processing an Image.This command supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits. This command does not support signed data images. This command does not support 32-bit grayscale images.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.SpecialEffects.CanvasCommand
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
Reference
CanvasCommand MembersLeadtools.ImageProcessing.SpecialEffects Namespace
Applying Artistic Effects
EmbossCommand
ShadowCommand Class
BumpMapCommand Class
ChangeHueSaturationIntensityCommand
ColorReplaceCommand
ColorThresholdCommand
CombineCommand
CombineWarpCommand
DiscreteFourierTransformCommand
DirectionEdgeStatisticalCommand
FastFourierTransformCommand
FrequencyFilterCommand
FrequencyFilterMaskCommand
FourierTransformDisplayCommand
StatisticsInformationCommand
FeretsDiameterCommand
ObjectInformationCommand
RegionContourPointsCommand
GetRegionPerimeterLength
MathematicalFunctionCommand
SegmentCommand
SubtractBackgroundCommand
TextureAlphaBlendCommand
UserFilterCommand