←Select platform

DiceEffectCommandFlags Enumeration

Summary

This enumeration indicates how to apply the Dice effect to an image.

Syntax
C#
VB
C++
[FlagsAttribute()] 
public enum DiceEffectCommandFlags 
  
<FlagsAttribute()> 
Public Enum DiceEffectCommandFlags  
   Inherits System.Enum 
   Implements System.IComparable, System.IConvertible, System.IFormattable  
[FlagsAttribute()] 
public enum class DiceEffectCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   

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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.SpecialEffects Assembly