image(_:alignmentAnchor:)
Creates an image configuration using a custom image.
Declaration
static func image(_ image: UIImage, alignmentAnchor: CGPoint = .zero) -> MarkupAdornment.ImageConfigurationParameters
- image:
The
UIImageto display. - alignmentAnchor:
The offset from the image center for positioning. Defaults to zero.
Return Value
An ImageConfiguration for the custom image.