vcl-cxgraphics-6a7045f4.md
Enumerates combine operations applicable to window regions.
TcxRegionOperation = (
roSet,
roAdd,
roSubtract,
roIntersect
);
| Name |
|---|
roSet |
roAdd |
roSubtract |
roIntersect |
Options include:
| Value | Description |
|---|---|
| roSet | Replaces the current region with a specified source region. This value maps to the RGN_COPY constant. |
| roAdd | Joins two window regions. This value maps to the RGN_OR constant. |
| roSubtract | Shrinks the current window region down to a difference between the current and source regions. This value maps to the RGN_DIFF constant. |
| roIntersect | Shrinks the current window region down to an intersection between the current and source regions. This value maps to the RGN_ADD constant. |
The TcxCanvas.SetClipRegion and TcxRegion.Combine procedures accept a TcxRegionOperation value.
See Also