Vcl.Graphics.TCanvasState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type TCanvasState = set of TCanvasStates;

C++

typedef System::Set<TCanvasStates, TCanvasStates::csHandleValid, TCanvasStates::csBrushValid> TCanvasState;

Properties

Type Visibility Source Unit Parent
set
typedef
public
System.UITypes.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

Description

Represents a set of states a canvas satisfies.

TCanvasState is a set of states that describes the general state of a canvas. The following table lists the possible values of the TCanvasState set:



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.



See Also