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

TCanvas.TextStyle

Text style attributes used to draw text on the canvas.

Declaration

Source position: graphics.pp line 1176

public property TCanvas.TextStyle : TTextStyle
  read FTextStyle
  write FTextStyle;

Description

TextStyle is a TTextStyle property with the attributes applied to text drawn on the canvas. It is used in methods which output text to the drawing surface, like TextOut and TextRect.

Default values in the property are assigned in the constructor.

See TTextStyle for details about members in the record and their usage.

See also

TCanvas.TextOut

  

Writes text at the specified position on the canvas.

TCanvas.TextRect

  

Draws text on the canvas at the specified location using the given style.

TCanvas.Create

  

Constructor for the class instance.

TTextStyle

  

The Style of the Text to be drawn in a rectangle.


Version 3.2 Generated 2024-02-25 Home