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
Delphi |
public |
Parameters
aPath
Type: TRSGPPath
Mode
Type: TRSGPRegionCombineMode