Skip to main content

TcxRegionOperation Enum

Enumerates combine operations applicable to window regions.

Declaration

TcxRegionOperation = (
    roSet,
    roAdd,
    roSubtract,
    roIntersect
);

Members

Name
roSet
roAdd
roSubtract
roIntersect

Remarks

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