Visual Basic (Declaration) | |
---|---|
Public Class PlaneCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class PlaneCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class PlaneCommand : public RasterCommand, IRasterCommand |
Run the PlaneCommand on an image.
Visual Basic | Copy Code |
---|---|
Public Sub PlaneCommandExample() |
C# | Copy Code |
---|---|
public void PlaneCommandExample() |
This command shows the effect of placing images on planes along the Z-axis and bending them toward a specific point. These images may be placed above, below, to the left or to the right of the Z-axis. An external light source of the specified color and brightness may be shined on the images. The brightness may vary along the z-axis according to the BrightLength value. By changing CenterPoint and the viewing screen Z-offset, you can simulate moving along the axis. If the image has a region, the effect will be applied on the region dimensions only. For an example, see the following figure:
The following figure shows the same image, after the effect has been applied:
To obtain this effect, the following settings were used with the command:
CenterPoint = new System.Drawing.Point(320, 256) ZValue = 0 Distance = 256 PlaneOffset = 256 Repeat = -1 PyramidAngle = 0 Stretch = 100 StartBright = 0 EndBright = 0 BrightLength = 50 BrightColor = new RasterColor(255, 255, 255) FillColor = new RasterColor(0, 0, 0) Flags = PlaneCommandFlags.Down | PlaneCommandFlags.Color This command does not support 32-bit grayscale images.
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.
For more information, refer to Correcting Colors.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.SpecialEffects.PlaneCommand
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
PlaneCommand MembersLeadtools.ImageProcessing.SpecialEffects Namespace
Introduction to Image Processing With LEADTOOLS
Correcting Colors
AddNoiseCommand
EmbossCommand
MosaicCommand
MotionBlurCommand
OilifyCommand
PosterizeCommand
RemoveRedEyeCommand
SolarizeCommand
BumpMapCommand Class
CubismCommand
DrawStarCommand Class
GlowCommand Class
FreePlaneBendCommand Class
DryCommand Class
OceanCommand Class
GlassEffectCommand Class
LensFlareCommand Class
LightCommand Class
FreeRadialBendCommand Class
PlaneBendCommand Class
SampleTargetCommand
TunnelCommand Class
BendCommand Class
CylinderCommand Class
FreeHandShearCommand Class
FreeHandWaveCommand Class
ImpressionistCommand Class
PixelateCommand Class
PolarCommand Class
RadialBlurCommand Class
RadialWaveCommand Class
RippleCommand Class
SphereCommand Class
SwirlCommand Class
WaveCommand Class
WindCommand Class
ZoomBlurCommand Class
ZoomWaveCommand Class
BricksTextureCommand Class
CanvasCommand Class
CloudsCommand Class
ColoredBallsCommand Class
DiffuseGlowCommand Class
DisplacementCommand
FragmentCommand Class
HalfTonePatternCommand
MaskConvolutionCommand
MosaicTilesCommand Class
OffsetCommand
PerspectiveCommand Class
PlasmaCommand Class
PointillistCommand Class
RomanMosaicCommand Class
VignnetCommand Class
ZigZagCommand Class
AdjustTintCommand
ColorHalftoneCommand