Represents an oval shape.
How to use
- Drop a
OvalShapecontrol from the object panel to a
- Use the
OvalShape Inspectorto customize its properties like
Border Color, and
The inspector where the
OvalShape class can be configured.
- Drop a
Buttoncontrol from the object panel to a
- Open the
Code Editor(cmd + 6)
- Select the
Actionitem inside the
Eventsarea and write your custom code in the
OvalShape1.fillColor = Color.red OvalShape1.strokeColor = Color.black OvalShape1.strokeThickness = 4
Most important properties
Several UI aspects can be configured in the
OvalShape class but the
strokeThickness are the most commons to be configured.
fillColor: Color used to fill the shape.
strokeColor: Color used to stoke shape border.
strokeThickness: Border thickness.
OvalShape class reference contains a complete list of properties and methods that can be used to customize a