Case

PreviewLayout.fixed(width:height:)

Center the preview in a fixed size container with the given dimensions.

Declaration 宣言

case fixed(width: CGFloat, height: CGFloat)

Parameters パラメータ

width

The width of the container.

height

The height of the container.

See Also 参照

Getting a Layout