TdxGPCustomBrush.IsEmpty Property
Indicates if the brush is visible.
Declaration
property IsEmpty: Boolean read;
Property Value
Type |
---|
Boolean |
Remarks
The IsEmpty property returns True if at least one of the following conditions is met:
The created brush object’s properties have no assigned values.
The brush object’s property that corresponds to the selected draw mode is invalid (for instance, the brush painting mode is set to gpbsSolid if the Color property is unassigned.
Otherwise, the IsEmpty property returns False.
Note
When the IsEmpty property returns False, the brush can be invisible due to painting settings. For instance, the brush can be filled with the solid color whose alpha is set to 0.
See Also