Properties for adding borders and custom fills when drawing text.
Border Properties
Property
Description
Default
BorderWidth
Specifies the size of the border. Set to 0 to disable text borders
0
BorderColor
The color of the border. Note: The fill with be the Font.Color
clBlack
BorderLineJoin
Borders are rendered as a series of lines. Specify the method for line joins
ieljMiter
Fill Properties
Property
Description
Default
FillTransparency1
A separate transparency level to use for the fill, e.g. to draw text with borders only and no fill. Set transparency in the range from 0 (fully transparent) to 255 (totally opaque). Note: An alternative is to set the Font.Color to clNone
255
FillTransparency2
If a FillGradient is not gpgNone, then FillColor2 and FillTransparency2 specify the color and transparency of the gradient end point. Set transparency in the range from 0 (fully transparent) to 255 (totally opaque)
255
FillColor2
If a FillGradient is not gpgNone, then FillColor2 and FillTransparency2 specify the color and transparency of the gradient end point. Note: Fill Color 1 is Font.Color
clRed
FillGradient
The gradient for the fill if FillColor2 is not clNone
gpgNone
Note: Width specifies the pixels added to a character in a horizontal or vertical dimension, e.g. a border width of 4, will add a border of approximately 2 pixels