←Select platform

DiceEffectCommandFlags Enumeration

Summary

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

Syntax

C#
VB
WinRT C#
C++
[FlagsAttribute()] 
public enum DiceEffectCommandFlags 
  
<FlagsAttribute()> 
Public Enum DiceEffectCommandFlags  
   Inherits System.Enum 
   Implements System.IComparable, System.IConvertible, System.IFormattable  
[FlagsAttribute()] 
public enum DiceEffectCommandFlags : System.IComparable, System.IConvertible, System.IFormattable   
Leadtools.ImageProcessing.SpecialEffects.DiceEffectCommandFlags = function() { }; 
Leadtools.ImageProcessing.SpecialEffects.DiceEffectCommandFlags.prototype = { 
 
  None = 0x00000000, 
    Border = 0x00000001, 
    Size = 0x00000010, 
    Count = 0x00000020, 
    ResizeImage = 0x00000100, 
     
 }; 
[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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.SpecialEffects Assembly