Skip to main content

TcxRegion Members

A region.

Constructors

Name Description
Create(TcxRegionHandle) Initializes a new instance of the TcxRegion class with specified settings.
Create(Integer,Integer,Integer,Integer) Creates a new region.
Create(TRect) Initializes a new instance of the TcxRegion class with specified settings.
CreateFromWindow(HWND,Integer) Creates a region from a window.
CreateRoundCorners(Integer,Integer,Integer,Integer,Integer,Integer) Initializes a new instance of the TcxRegion class with specified settings.
CreateRoundCorners(TRect,Integer,Integer) Creates a rectangular region with rounded corners.

Properties

Name Description
BoundsRect Returns the region’s bounding rectangle.
Handle Specifies a handle to the region.
IsEmpty Identifies if the region is empty.

Methods

Name Description
Clone Creates a copy of the region.
Combine(TcxRegion,TcxRegionOperation,Boolean)
Combine(TcxRegionHandle,TcxRegionOperation)
Combine(TRect,TcxRegionOperation) Combines two regions.
Equals(TObject) Inherited from TObject.
GetHashCode Inherited from TObject.
IsEqual(TcxRegion)
IsEqual(TcxRegionHandle) Identifies if two regions are equal in shape and size.
Offset(Integer,Integer) Moves the region horizontally and/or vertically.
Offset(TPoint)
PtInRegion(Integer,Integer) Identifies if the specified point is within the region.
PtInRegion(TPoint)
RectInRegion(Integer,Integer,Integer,Integer) Identifies if the specified rectangle is within the region.
RectInRegion(TRect)
ToString Inherited from TObject.
See Also