Visual Basic (Declaration) | |
---|---|
Public Class CubismCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class CubismCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class CubismCommand : public RasterCommand, IRasterCommand |
Run the CubismCommand on an image.
Visual Basic | Copy Code |
---|---|
Public Sub CubismCommandExample() |
C# | Copy Code |
---|---|
public void CubismCommandExample() |
This command remaps the image into a collection of rotated rectangles (cubic faces), producing an image in a Cubist style. 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:Space = 5 Length = 10 Brightness = 0 Angle = 0 Color = new RasterColor(0, 0, 0) Flags = CubismCommandFlags.Background | CubismCommandFlags.Random | CubismCommandFlags.Rectangle
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.Effects.CubismCommand
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
CubismCommand MembersLeadtools.ImageProcessing.Effects Namespace
Correcting Colors
AddNoiseCommand Class
EmbossCommand Class
MosaicCommand Class
MotionBlurCommand Class
OilifyCommand Class
PosterizeCommand
RemoveRedEyeCommand
SolarizeCommand
BumpMapCommand
DrawStarCommand
DryCommand
FreePlaneBendCommand
FreeRadialBendCommand
GlassEffectCommand
GlowCommand
LensFlareCommand
LightCommand
OceanCommand
PlaneBendCommand
PlaneCommand
SampleTargetCommand
TunnelCommand
BendCommand
CylinderCommand
FreeHandShearCommand
FreeHandWaveCommand
ImpressionistCommand
PixelateCommand
PolarCommand
RadialBlurCommand
RadialWaveCommand
RippleCommand
SphereCommand
SwirlCommand
WaveCommand
WindCommand
ZoomBlurCommand
ZoomWaveCommand
BricksTextureCommand
CanvasCommand
CloudsCommand
ColoredBallsCommand
DiffuseGlowCommand
DisplacementCommand Class
FragmentCommand
HalfTonePatternCommand
MaskConvolutionCommand Class
MosaicTilesCommand
OffsetCommand Class
PerspectiveCommand
PlasmaCommand
PointillistCommand
RomanMosaicCommand
VignnetCommand
ZigZagCommand
AdjustTintCommand
ColorHalftoneCommand Class