←Select platform

PuzzleEffectCommandFlags Enumeration

Summary

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

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

Members
ValueMemberDescription
0x00000000NoneNo Flags selected.
0x00000001BorderDraw borders around the puzzle blocks. Use the BorderColor property of the PuzzleEffectCommand class, or the borderColor parameter if you are using the appropriate Constructor, to set the border color. If the Resize 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.
0x00000002ShuffleShuffle the blocks around, controlling the randomization process by the Randomize property of the PuzzleEffectCommand class, or the randomize parameter of the appropriate Constructor. If this flag is not set, the blocks will stay in their original position.
0x00000010SizeApply the puzzle effect using the XBlock and YBlock properties of the PuzzleEffectCommand class, or the xblock and yblock parameters if you are using the appropriate Constructor, as the width and height of each block, in pixels.
0x00000020CountApply the puzzle effect using the XBlock and YBlock properties of the PuzzleEffectCommand class, or the xblock and yblock parameters if you are using the appropriate Constructor, as the number of blocks per row and per column.
0x00000100ResizeResize the image to be sure that all blocks have equal size. If this flag is not set then the remainder of the image (edge blocks) will be manipulated differently than the inner blocks.

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