Contents

image

The image the annotation view displays.

Declaration

var image: UIImage? { get set }
var image: NSImage? { get set }

Discussion

Assigning a new image to this property also changes the size of the view’s frame so that it matches the width and height of the new image. The position of the view’s frame doesn’t change.

See Also

Getting and setting attributes