Shape in DelphiVCL.Shape is used to specify the shape of the control.
Set Shape to the geometric shape that should be drawn on the form.
The Shape property has these possible values:
Value | Meaning |
stCircle | The shape is a circle. |
stEllipse | The shape is an ellipse. |
stRectangle | The shape is a rectangle. (Default) |
stRoundRect | The shape is a rectangle with rounded corners. |
stRoundSquare | The shape is a square with rounded corners. |
stSquare | The shape is a square. |
Here are the working examples of them:
- Circle:
[crayon-6621d93325887095438500/]
- Ellipse:
[crayon-6621d93325891958370970/]
- Rectangle:
[crayon-6621d93325893644941079/]
- RoundRect:
[crayon-6621d93325895662012429/]
- RoundSquare:
[crayon-6621d93325896897355204/]
- Square:
[crayon-6621d93325898899555811/]
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.