Contents

init(image:alignment:)

Initialize an overlay with a UIImage.

Declaration

init(image: UIImage, alignment: CPImageOverlay.Alignment)

Parameters

  • image:

    The image to display in the overlay.

  • alignment:

    The alignment for positioning the overlay.