FillColor property

From Xojo Documentation

(Redirected from Rectangle.FillColor)
Property (As Color )
a<see below>.FillColor = newColorValue
or
ColorValue = a<see below>.FillColor

Supported for all project types and targets.

The color of the interior of the shape.

Classes implementing the FillColor property

Object2D
Oval
Rectangle
ReportOvalShape
ReportRectangleShape
ReportRoundRectangleShape
RoundRectangle

Example

The following example sets the interior color of the arc.

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