RectangleShape
public struct RectangleShape : Shape
A rectangle shape which size can be animated.
Source inspired by SwiftUI-Lab
-
Declaration
Swift
public var animatableData: CGFloat
-
Declaration
Swift
public func path(in rect: CGRect) -> Path