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.
Initialize an overlay with a UIImage.
init(image: UIImage, alignment: CPImageOverlay.Alignment)The image to display in the overlay.
The alignment for positioning the overlay.