PTImageStampCreate


@interface PTImageStampCreate : PTCreateToolBase

Create image stamp annotations.

  • Stamp an image at a point in screen space.

    Declaration

    Objective-C

    - (void)stampImage:(nonnull UIImage *)image atPoint:(CGPoint)point;

    Swift

    func stampImage(_ image: UIImage, at point: CGPoint)

    Parameters

    image

    The image to stamp on the document.

    point

    The point in screen coordinates at which to stamp the image.

  • Show a resize picker and stamp an image at a point in screen space with the chosen size.

    Declaration

    Objective-C

    - (void)showResizePickerForImage:(nonnull UIImage *)image
                             atPoint:(CGPoint)point;

    Swift

    func showResizePicker(for image: UIImage, at point: CGPoint)

    Parameters

    image

    The image to stamp on the document.

    point

    The point in screen coordinates at which to stamp the image.