←Select platform

RasterRegionCombineMode Enumeration

Summary

Controls the creation of an image region.

Syntax
C#
VB
Objective-C
C++
Java
public enum RasterRegionCombineMode 
Public Enum RasterRegionCombineMode  
typedef NS_ENUM(NSInteger, LTRasterRegionCombineMode) 
public enum RasterRegionCombineMode 
public enum class RasterRegionCombineMode   

Members
ValueMemberDescription
0And

The resulting region includes only the intersection of the existing region and the new one. The following example shows the result, where the rectangles represent the existing region, the ellipse represents the new one, and the shaded area represents the resulting region.

RasterRegionCombineMode And

1Set

The resulting region includes only the new region. The existing region, if any, is discarded. The following example shows the result, where the ellipse is the new region and the shaded area is the resulting region.

RasterRegionCombineMode Set

2AndNotImage

The resulting region includes the intersection of the area outside the existing region and the area inside the new region. The following example shows the result, where the rectangle is the existing region, the ellipse is the new one, and the shaded area is the resulting region.

RasterRegionCombineMode And Not Image

3AndNotRegion

The resulting region includes the intersection of the area inside the existing region and the area outside the new region. The following example shows the result, where the rectangle is the existing region, the ellipse is the new one, and the shaded area is the resulting region.

RasterRegionCombineMode And Not Region

4Or

The resulting region includes the area inside the existing region and the area inside the new region. The following example shows the result, where the rectangle is the existing region, the ellipse is the new one, and the shaded area is the resulting region.

RasterRegionCombineMode Or

5Xor

The resulting region includes the area inside the existing region and the area inside the new region, except for any areas where the two intersect. The following example shows the result, where the rectangle is the existing region, the ellipse is the new one, and the shaded area is the resulting region.

RasterRegionCombineMode Xor

6SetNot

The resulting region includes everything in the image, except the new region. The existing region, if any, is discarded. The following example shows the result, where the ellipse is the new region and the shaded area is the resulting region.

RasterRegionCombineMode Set Not

NOTE: Use LegacyEllipse to obtain ellipse regions compatible with older versions of LEADTOOLS (v18 and some old v19 DLLs).

Requirements

Target Platforms

See Also

Reference

Leadtools Namespace

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly