Visual Basic (Declaration) | |
---|---|
Public Class PlasmaCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class PlasmaCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class PlasmaCommand : public RasterCommand, IRasterCommand |
Run the PlasmaCommand on an image.
Visual Basic | Copy Code |
---|---|
Public Sub PlasmaCommandExample() |
C# | Copy Code |
---|---|
public void PlasmaCommandExample() |
As an example, suppose you call the PlasmaCommand method, using an Opacity value of 0, which means that no image is to be used, and you use the following settings:
Parameters Value Shift 0 Opacity 0 Size 1000 Flags Random1 | Rgb1
The following figure results:The Opacity value will always be considered to be 0, unless specified otherwise by a value between (and including) 0 to 100. Use the RedFrequency, GreenFrequency, and BlueFrequency to create a custom color pattern. To use them, pass the CustomeColor flag to PlasmaCommand. Otherwise, their values will be ignored. The Hue value is a predefined color pattern that is based on the HLS color space. It creates plasma patterns by changing hue values. The Rgb1 value is a predefined color pattern that is based on the RGB color space. Different combinations of red, green and blue frequencies produce different results. Like the Rgb1 value, the Rgb2 value is based on the RGB color space, but uses a different combination of red, green and blue frequencies. The color palette used for Shift is a continuous cylindrical color palette. In the following figures, one shows where on the palette a value of 0 lies, and the other one shows where on the palette the maximum value lies: This method 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 method does not support signed data images. This command does not support 32-bit grayscale images.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.SpecialEffects.PlasmaCommand
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
PlasmaCommand MembersLeadtools.ImageProcessing.SpecialEffects Namespace
AddNoiseCommand
EmbossCommand
MaskConvolutionCommand
MosaicCommand
MotionBlurCommand
OilifyCommand
PosterizeCommand
RemoveRedEyeCommand
SolarizeCommand
BendCommand Class
CylinderCommand Class
FreeHandShearCommand Class
FreeHandWaveCommand Class
ImpressionistCommand Class
PolarCommand Class
RadialBlurCommand Class
RadialWaveCommand Class
RippleCommand Class
SphereCommand Class
SwirlCommand Class
WaveCommand Class
WindCommand Class
ZoomBlurCommand Class
ZoomWaveCommand Class
BumpMapCommand Class
CubismCommand
DrawStarCommand Class
DryCommand Class
FreePlaneBendCommand Class
FreeRadialBendCommand Class
GlassEffectCommand Class
GlowCommand Class
LensFlareCommand Class
LightCommand Class
OceanCommand Class
PlaneBendCommand Class
PlaneCommand Class
TunnelCommand Class
PixelateCommand Class