Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPCanvasRegion > Methods

TRSGPCanvasRegion.Combine(TRSGPPath,TRSGPRegionCombineMode) Method

Scroll Prev Top Next More

Combines the current region with the path.

The mode parameter controls how the combining takes place:

cmReplace

New region replaces existing region

cmComplement

Specifies that the existing region is replaced by the portion of the new region that is outside of the existing region.
 

cmExclude

Specifies that the existing region is replaced by the portion of itself that is outside of the new region.
 

cmIntersect

Updates this region to the portion of itself that intersects the specified object's interior.
 

cmUnion

Updates this region to all portions (intersecting and nonintersecting) of itself and all portions of another object
 

cmXOR

Updates this region to the nonintersecting portions of itself and the specified object's interior
 

By default, the region is replaced with the input.

Namespace: RSGdiPlusGraphics

Parameters

aPath

Type: TRSGPPath

Mode

Type: TRSGPRegionCombineMode

Overrides

TRSGPRegion.Combine(TRSGPPath,TRSGPRegionCombineMode)
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb