> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/ios/ui-customization/tool-subclasses.md).

# Tool class hierarchy

Discover the capabilities of PTAnnotEditTool, PTLineEditTool, PTDigitalSignatureTool, and more in this comprehensive guide to editing annotations and creating various types of annotations. Start enhan

## Reference

* [`PTAnnotEditTool`](https://sdk.apryse.com/api/ios/Classes/PTAnnotEditTool.html) : Allows one to edit a selected annotation. This includes such operations as moving and resizing.
  * `PTLineEditTool`: Allows one to edit a selected line or arrow. This includes such operations as moving and resizing.
* [`PTDigitalSignatureTool`](https://sdk.apryse.com/api/ios/Classes/PTDigitalSignatureTool.html): Creates signature stamp annotations as well as demonstrates how to digitally sign a document by using one of its signature fields.
* [`PTFormFillTool`](https://sdk.apryse.com/api/ios/Classes/PTFormFillTool.html): Allows one to fill forms.
* [`PTFreeTextCreate`](https://sdk.apryse.com/api/ios/Classes/PTFreeTextCreate.html): Creates [PTFreeText](https://sdk.apryse.com/api/ios/Classes/PTFreeText.html) annotations.
* [`PTPanTool`](https://sdk.apryse.com/api/ios/Classes/PTPanTool.html): The Pan tool selects a tapped-on annotation and switches to the annotation edit tool on a single-tap event, and brings up the annotation creation menu upon a long-press event.
* [`PTRichMediaTool`](https://sdk.apryse.com/api/ios/Classes/PTRichMediaTool.html): Plays video when an annotation with [RichMedia](https://sdk.apryse.com/api/ios/Enums/PTAnnotType.html#/c:@E@PTAnnotType@e_ptRichMedia) is tapped.
* [`PTCreateToolBase`](https://sdk.apryse.com/api/ios/Classes/PTCreateToolBase.html): The base class for several shape creation classes.
  * [`PTRectangleCreate`](https://sdk.apryse.com/api/ios/Classes/PTRectangleCreate.html): Creates rectangle annotations.
    * [`PTRectangleRedactionCreate`](https://sdk.apryse.com/api/ios/Classes/PTRectangleRedactionCreate.html): Creates rectangular [redaction](https://sdk.apryse.com/api/ios/Classes/PTRedactionAnnot.html) annotations.
  * [`PTEraser`](https://sdk.apryse.com/api/ios/Classes/PTEraser.html): Erases [Ink](https://sdk.apryse.com/api/ios/Classes/PTInk.html) annotations.
  * [`PTFreehandCreate`](https://sdk.apryse.com/api/ios/Classes/PTFreeHandCreate.html): Creates [Ink](https://sdk.apryse.com/api/ios/Classes/PTInk.html) annotations.
  * [`PTLineCreate`](https://sdk.apryse.com/api/ios/Classes/PTLineCreate.html): Creates [line](https://sdk.apryse.com/api/ios/Classes/PTLineAnnot.html) annotations.
    * [`PTArrowCreate`](https://sdk.apryse.com/api/ios/Classes/PTArrowCreate.html): Creates [line](https://sdk.apryse.com/api/ios/Classes/PTLineAnnot.html) annotations with an arrow ending style.
    * [`PTRulerCreate`](https://sdk.apryse.com/api/ios/Classes/PTRulerCreate.html): Creates [line](https://sdk.apryse.com/api/ios/Classes/PTLineAnnot.html) annotations with distance measurement information.
  * [`PTEllipseCreate`](https://sdk.apryse.com/api/ios/Classes/PTEllipseCreate.html): Creates [circle](https://sdk.apryse.com/api/ios/Classes/PTCircle.html) annotations.
  * [`PTStickyNoteCreate`](https://sdk.apryse.com/api/ios/Classes/PTStickyNoteCreate.html): Creates [sticky note](https://sdk.apryse.com/api/ios/Classes/PTText.html) annotations.
  * [`PTPolylineCreate`](https://sdk.apryse.com/api/ios/Classes/PTPolylineCreate.html): Creates [polyline](https://sdk.apryse.com/api/ios/Classes/PTPolyLine.html) annotations.
    * [`PTPolygonCreate`](https://sdk.apryse.com/api/ios/Classes/PTPolygonCreate.html): Creates [polygon](https://sdk.apryse.com/api/ios/Classes/PTPolygon.html) annotations.
      * [`PTCloudCreate`](https://sdk.apryse.com/api/ios/Classes/PTCloudCreate.html): Creates [polygon](https://sdk.apryse.com/api/ios/Classes/PTPolygon.html) annotations with a cloud border effect.
      * [`PTAreaCreate`](https://sdk.apryse.com/api/ios/Classes/PTAreaCreate.html): Creates [polygon](https://sdk.apryse.com/api/ios/Classes/PTPolygon.html) annotations with area measurement information.
    * [`PTPerimeterCreate`](https://sdk.apryse.com/api/ios/Classes/PTPerimeterCreate.html): Creates [polyline](https://sdk.apryse.com/api/ios/Classes/PTPolyLine.html) annotations with perimeter measurement information.
  * [`PTFileAttachmentCreate`](https://sdk.apryse.com/api/ios/Classes/PTFileAttachmentCreate.html): Creates [file attachment](https://sdk.apryse.com/api/ios/Classes/PTFileAttachment.html) annotations.
  * [`PTImageStampCreate`](https://sdk.apryse.com/api/ios/Classes/PTImageStampCreate.html): Creates [rubber stamp](https://sdk.apryse.com/api/ios/Classes/PTRubberStamp.html) annotations.
* [`PTTextMarkupCreate`](https://sdk.apryse.com/api/ios/Classes/PTTextMarkupCreate.html): The base class for all text markup creation tools.
  * [`PTTextHighlightCreate`](https://sdk.apryse.com/api/ios/Classes/PTTextHighlightCreate.html): Creates [text highlight](https://sdk.apryse.com/api/ios/Classes/PTHighlightAnnot.html) annotations.
  * [`PTTextSquigglyCreate`](https://sdk.apryse.com/api/ios/Classes/PTTextSquigglyCreate.html): Creates [text squiggly](https://sdk.apryse.com/api/ios/Classes/PTSquiggly.html) annotations.
  * [`PTTextStrikeoutCreate`](https://sdk.apryse.com/api/ios/Classes/PTTextStrikeoutCreate.html): Creates [text strikeout](https://sdk.apryse.com/api/ios/Classes/PTStrikeOut.html) annotations.
  * [`PTTextUnderlineCreate`](https://sdk.apryse.com/api/ios/Classes/PTTextUnderlineCreate.html): Creates [text underline](https://sdk.apryse.com/api/ios/Classes/PTUnderline.html) annotations.
  * [`PTTextRedactionCreate`](https://sdk.apryse.com/api/ios/Classes/PTTextRedactionCreate.html): Creates text [redaction](https://sdk.apryse.com/api/ios/Classes/PTRedactionAnnot.html) annotations.
* [`PTTextSelectTool`](https://sdk.apryse.com/api/ios/Classes/PTTextSelectTool.html): Selects text on pages.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.apryse.com/ios/ui-customization/tool-subclasses.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
