Graphics.Outline
From Xojo Documentation
Property (As Boolean )
![]() |
This property is only available on platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this property on an incompatible platform. |
aGraphics.Outline = newBooleanValue
or
BooleanValue = aGraphics.Outline
New in 2021r1
Supported for all project types and targets.
or
BooleanValue = aGraphics.Outline
New in 2021r1
Supported for all project types and targets.
If True, applies the outline style to the control's caption and/or its text content if any.
Notes
Limitations
Mac apps can only display font styles that are available. You cannot force a font to display in bold or italic if it does not have bold or italic variations available. In this situation, the bold property will not affect the font.
When using Outline on MacOS and Windows, Underline is not supported.
GraphicsBrush is ignored when using Outline on iOS.
Sample Code
This example sets the text to Outline.
Compatibility
Desktop and iOS projects on all supported operating systems.