BorderWidth property

From Xojo Documentation

(Redirected from Object2D.BorderWidth)
Property (As Integer or Double )
a<see below>.BorderWidth = newInteger or DoubleValue
or
Integer or DoubleValue = a<see below>.BorderWidth

Supported for all project types and targets.

The width of the border, in points. The default is 1.

Notes

For Object2Ds, the width a Double value with a default of 1.0.

Objects implementing the BorderWidth property

Object2D
Oval
Rectangle
ReportOvalShape
ReportRectangleShape
ReportRoundRectangleShape
RoundRectangle

Sample Code

This example sets the border width to 2.75 points.

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