The color of the label border (or clNone for no border)
LabelBorderWidth
The width of the label border
LabelFillColor
The color of the label fill (or clNone for no fill)
LabelFillColor2
The color of the secondary fill (if the label fill has a gradient)
LabelFillGradient
The direction of the gradient for the label fill (from LabelFillColor to LabelFillColor2). gpgNone specifies no gradient
LabelOpacity
Specifies the opacity of the label (from 0.0 to 1.0)
LabelHorzMargin, LabelVertMargin
Adds margin to the label
Advanced Text Styling
Parameter
Description
TextBorderWidth
If not 0 the text will have a colored border of the specified width
TextBorderColor
The color of the text border
TextFillTransparency1
The transparency of the text fill (the color is specified by Font.Color)
TextFillTransparency2
The transparency of the secondary fill (if the text fill has a gradient)
TextFillColor2
The color of the secondary fill (if the text fill has a gradient). The fill color is specified by Font.Color. gpgNone specifies no gradient
TextFillGradient
The direction of the gradient for the text fill (from Font.Color to TextFillColor2)
Other Parameters
Parameter
Description
LineCurve
Specifies the curvature of the line as a multiplier to increase or decrease the radius of the curve. 0: No curve, 1: Curve of an exact half circle, >1 creates a shallower curve, <1 creates a bulging curve. Pass as negative to sweep clockwise
AntiAlias
True uses best quality. False disables anti-aliasing
CalculateOnly
If true, the text is not drawn, just the output size returned as the result
Result is the size of the entire draw in pixels (i.e. it may be outside the passed line points if a label or ending shape has been specified).