[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TDefaultColorType

Indicates whether a default color applies to a font or a brush.

Declaration

Source position: graphics.pp line 994

type TDefaultColorType = (

  dctBrush,

  

Default color refers to the the Brush color.

  dctFont

  

Default color refers to the the Font color.

);

Description

Values from TDefaultColorType are passed as an argument to the GetdefaultColor method in TCanvas. It allows the the color clDefault to be resolved to the correct color value in the class instance.

See also

TCanvas.GetDefaultColor

  

Gets the default color value for the canvas.


Version 3.2 Generated 2024-02-25 Home