JCL Help:TJclBitmap32.RenderText

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Renders text with antialiasing and transparency support.


Pascal

 public procedure RenderText(X: Integer; Y: Integer; const Text: string; AALevel: Integer; Color: TColor32);


Parameters

Parameters Description
X: Integer Specifies the x-coordinate of the reference point to align the string.
Y: Integer Specifies the x-coordinate of the reference point to align the string.
const Text: string The string to be drawn.
AALevel: Integer level of antialiasing to apply.
Color: TColor32 The color to use when drawing the string.


Description

The RenderText method draws a string of characters. This method is much slower compared to TextOut functions, however it supports antialiasing and transparency. AALevel specifies how the text is antialiased. If it is zero, no antialiasing is performed, the value of 4 corresponds to a maximum quality.
Note, that quality of the text is also influenced by the system font antialiasing.
This method draws a string using current Font, but it ignores the Font.Color property, substituting it with the Color parameter.


See Also

Font TColor32 TextExtent TextOut


About

Donator

Alex Denissov


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page