Instance Method インスタンスメソッド

size(_:)

Returns a new version of self representing the same shape, but that will ask it to create its path from a rect of size. This does not affect the layout properties of any views created from the shape (e.g. by filling it).

Declaration 宣言

func size(_ size: CGSize) -> some Shape