TcxRectBasedGeometryObject.IsEmpty Method
In This Article
Identifies if geometry information corresponds to an empty rectangle or zero margins.
#Declaration
Delphi
function IsEmpty: Boolean; virtual;
#Returns
Type | Description |
---|---|
Boolean | True if the underlying rectangle’s area is 0 or a negative number; otherwise, False. |
#Remarks
Draw routines can call this function to identify if they should take the stored geometry-based information into account. For instance, a draw routine can use a simpler algorithm if the IsEmpty function returns True.
See Also