←Select platform

CanvasCommandFlags Enumeration

Summary
Flags that identify how to distribute the canvas image with respect to the image and how to handle resizing.

Syntax
C#
C++/CLI
Python
[FlagsAttribute()] 
public enum CanvasCommandFlags 
[FlagsAttribute()] 
public enum class CanvasCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   
class CanvasCommandFlags(Enum): 
   ResizeNormal = 0 
   ResizeNormal = 0 
   TileFit, ResizeResample = 2 
   TileFit, ResizeBicubic = 4 
   TileFit, TileShift = 16 
Members
ValueMemberDescription
0x00000000ResizeNormalResize normally.
0x00000000TileFitFit the canvas image so it has the same dimensions as the image that is being applied to the canvas, without tiling.
0x00000002ResizeResampleUse linear interpolation and averaging to produce a higher quality image.
0x00000004ResizeBicubicUse bicubic interpolation and averaging to produce a higher quality image. This is slower than ResizeResample.
0x00000010TileShiftShift the canvas image by the amount specified in TilesOffset.
Remarks

You can use a bitwise OR ( ¦ ) to specify one flag from each group.

Group Flags
canvas image distribution TileFit TileShift
Resizing interpolation ResizeNormal ResizeResample ResizeBicubic
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.