←Select platform

Is this page helpful?

In this page

ColoredBallsCommandFlags Enumeration

Summary
Flags that indicate the background color , shade (or gradient) type, ball type and ball color type. This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

Syntax
C#
C++/CLI
Python
[FlagsAttribute()] 
public enum ColoredBallsCommandFlags 
[FlagsAttribute()] 
public enum class ColoredBallsCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   
class ColoredBallsCommandFlags(Enum): 
   None = 0 
   ShadingSingle = 1 
   ShadingLeftRight = 2 
   ShadingTopBottom = 3 
   ShadingCircular = 4 
   ShadingElliptical = 5 
   Sticker = 16 
   Ball = 32 
   BackGroundImage = 256 
   BackGroundColor = 512 
   BallsColorMask = 4096 
   BallsColorOpacity = 8192 
Members
ValueMemberDescription
0x00000000NoneNo flags.
0x00000001ShadingSingleFill the background with the color specified in the ColoredBallsCommand.BackGroundColor property only.
0x00000002ShadingLeftRightDraw shading as vertical lines that move from left to right.
0x00000003ShadingTopBottomDraw shading as horizontal lines that move from top to bottom.
0x00000004ShadingCircularDraw shading as concentric circles.
0x00000005ShadingEllipticalDraw shading as concentric ellipses.
0x00000010StickerBalls will overlap like stickers.
0x00000020BallBalls will adjust like bubbles.
0x00000100BackGroundImageThe background is the same as the image.
0x00000200BackGroundColorThe background is the color specified in the ColoredBallsCommand.BackGroundColor property.
0x00001000BallsColorMaskThe ball colors will block the image colors.
0x00002000BallsColorOpacityUse the opacity value when combining image colors with ball colors.
Remarks

You can use a bitwise OR ( ¦ ) to specify one flag from each group.

Group Flags
Shading type ShadingSingle, ShadingLeftRight, ShadingTopBottom, ShadingCircular, ShadingElliptical
Ball type Sticker, Ball
Background type BackGroundImage, BackGroundColor
Ball color type BallsColorMask, BallsColorOpacity
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.SpecialEffects Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.