ALCameraOverlayShapeFrameView

@MainActor
public struct ALCameraOverlayShapeFrameView<S> : View where S : Shape

The overlay shape frame.

  • The view body.

    Declaration

    Swift

    @MainActor
    public var body: some View { get }
  • Init.

    Declaration

    Swift

    @MainActor
    public init(
        _ shape: S,
        aspectRatio: CGSize = CGSize(width: 1, height: 1)
    )

    Parameters

    shape

    The shape.

    aspectRatio

    The aspect ratio.