Vcl.Graphics.TCanvasStates
Delphi
TCanvasStates = (csHandleValid, csFontValid, csPenValid, csBrushValid);
C++
enum DECLSPEC_DENUM TCanvasStates : unsigned char { csHandleValid, csFontValid, csPenValid, csBrushValid };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | Vcl.Graphics |
Description
Enumerates the states a canvas can satisfy.
TCanvasStates is an enumeration that describes the possible states a canvas satisfies. The following table lists the values of the TCanvasStates enumeration:
Value | Meaning |
---|---|
csHandleValid |
The canvas has an allocated handle. The handle depends on the specific canvas implementation. |
csFontValid |
The canvas has an allocated font object. The specific font object type and how it relates to the canvas are implementation-dependent. |
csPenValid |
The canvas has an allocated pen object. The specific pen object type and how it relates to the canvas are implementation-dependent. |
csBrushValid |
The canvas has an allocated brush object. The specific brush object type and how it relates to the canvas are implementation-dependent. |