From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Color )
aDesktopOval.BorderColor = newColorValue
ColorValue = aDesktopOval.BorderColor

New in 2021r3

Supported for all project types and targets.

The color of the object's border.

Sample Code

The following example adds a blue border to the arc.

Var a As New ArcShape
a.ArcAngle = 1.57
a.StartAngle = -1.57
a.Border = 100
a.BorderColor = &c0000ff
a.FillColor = RGB(255, 0, 127)
g.DrawObject(a, 100, 100)