←Select platform

PuzzleEffectCommandFlags Enumeration

Summary

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

Syntax

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

Leadtools.ImageProcessing.SpecialEffects Assembly