←Select platform

DiceEffectCommandFlags Enumeration

Summary
This enumeration indicates how to apply the Dice effect to an image.
Syntax
C#
C++/CLI
Python
[FlagsAttribute()] 
public enum DiceEffectCommandFlags 
[FlagsAttribute()] 
public enum class DiceEffectCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   
class DiceEffectCommandFlags(Enum): 
   None = 0 
   Border = 1 
   Size = 16 
   Count = 32 
   ResizeImage = 256 
Members
ValueMemberDescription
0x00000000NoneNo Flags selected.
0x00000001BorderDraw borders around the dice blocks. The border color is contained in the BorderColor property or the borderColor parameter of the Constructor. Each block will draw the border on the inside of the edges. The border is 1 pixel wide. In places with adjacent blocks, the border will be 2 pixels wide because each block has a 1-pixel border. If the ResizeImage flag is not set and the edge blocks have a different size than the inner blocks, the border will not be drawn for the right and the bottom edges.
0x00000010SizeXBlock and YBlock properties (or the xblock and yblock parameters of the Constructor) contain the width and height of each block, in pixels.
0x00000020CountXBlock and YBlock properties (or the xblock and yblock parameters of the Constructor) contain the number of blocks per row and per column.
0x00000100ResizeImageIf this flag is set then the image will be resized to be sure that all blocks have equal size. If this flag is not set then the edge blocks might have a different size than the inner blocks. If the edge blocks have a different size, they will be manipulated differently. For more information refer to the Remarks section of the DiceEffectCommand .
Requirements

Target Platforms

Help Version 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.