From 8b5f7616e73d0b426f939a53c0632553e1aadb21 Mon Sep 17 00:00:00 2001 From: mattias Date: Mon, 26 Sep 2016 11:12:37 +0000 Subject: [PATCH] LCL: TColor: doc git-svn-id: trunk@53038 - --- docs/xml/lcl/graphics.xml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/xml/lcl/graphics.xml b/docs/xml/lcl/graphics.xml index 2cc68c5f46..9ff05ac90b 100644 --- a/docs/xml/lcl/graphics.xml +++ b/docs/xml/lcl/graphics.xml @@ -143,8 +143,12 @@ - - + A color type used by most LCL drawing functions + Format is $00bbggrr - blue, green, red. +There are some predefined color constants like TMaroon. +See ColorToRGB and RGBToColor. + +Additionally there are "system colors", like clWindowText, which have a color or pattern depending on the users theme, the LCL control and the drawing tool (Pen, Brush, Font). @@ -6085,17 +6089,19 @@ Calling the MoveTo Writes Text string within a specified rectangle, according to predefined Style - Writes Text string within a specified rectangle, according to predefined Style
+ Writes Text string within a specified rectangle, according to predefined Style
The boundaries of the rectangle are specified in ARect
X, Y define the starting point for writing the Text within the rectangle.
- TextStyle determines whether the text is justified, centered, word-wrapped, clipped at the rectangle boundaries, etc. If the Style argument is omitted, defaults are assumed.
-
- Note: + TextStyle determines whether the text is justified, centered, word-wrapped, clipped at the rectangle boundaries, etc. If the Style argument is omitted, defaults are assumed.
+
+ Note: The exact text position depends on the specified rectangle, the TextStyle of the canvas, and the X, Y coordinates: