×

Shape

iOS 14 +

Notes

Create a simple shape. Set the 'foreground color' property to change the color. You can find more info at https://widgetpack.app/documentation

Syntax

shape(kind: <#Enumeration (ShapeKind)#>, radius: <#Double#>, rotation: <#Double#>)

Example

shape(kind: circle, radius: 100, rotation: 0)