Instance Method


No overview available.


func scaleEffect(_ s: CGFloat, anchor: UnitPoint = .center) -> some View

See Also

Scaling Views

func scaledToFill() -> View

Scales this view to fill its parent.

func scaledToFit() -> View

Scales this view to fit its parent.

func aspectRatio(CGFloat?, contentMode: ContentMode) -> View

Constrains this view’s dimensions to the specified aspect ratio.

func imageScale(Image.Scale) -> View

Set the image scale within self.