Contents

image(_:alignmentAnchor:)

Creates an image configuration using a custom image.

Declaration

static func image(_ image: UIImage, alignmentAnchor: CGPoint = .zero) -> MarkupAdornment.ImageConfiguration

Parameters

  • image:

    The UIImage to display.

  • alignmentAnchor:

    The offset from the image center for positioning. Defaults to zero.

Return Value

An ImageConfiguration for the custom image.

See Also

Creating an image configuration