addSquiggly

public final PdfSquigglyAnnotation addSquiggly(float x, float y, float width, float height, String author, String contents)

Adds a squiggly underline annotation to this page. The annotation is created with a default red color. Use the returned annotation's property to customize the color.

Return

The newly created .

Parameters

x

The x coordinate of the squiggly area in points.

y

The y coordinate of the squiggly area in points.

width

The width of the squiggly area in points.

height

The height of the squiggly area in points.

author

The author of the annotation.

contents

The text contents/comment for the annotation.

Throws

Thrown when no page is loaded.

Thrown when the operation fails.