Fill property

From Xojo Documentation

(Redirected from ReportRoundRectangleShape.Fill)
Property (As Double )
aObject2D.Fill = newDoubleValue
or
DoubleValue = aObject2D.Fill

Supported for all project types and targets.

The opacity of the interior, from 0 (completely transparent) to 100 (opaque). The default is 100.

Objects implementing the Fill property

Object2D
ReportOvalShape
ReportRectangleShape
ReportRoundRectangleShape

Example

This example sets the Fill to 50% opacity.

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