LEADTOOLS SDKs include flexible and time-tested image annotation technology for .NET (C# & VB), C/C++, WinRT, iOS, macOS, Java, and web developers. LEADTOOLS Annotations offers many customizable features, flexible development options, and a robust user experience.
Customizable Annotation Features Include:
- Custom Annotations
- User Interface
- XML Annotation Save Format
- Annotation Rotate Option
- Calibrate Ruler Feature
- Annotation Cursors
- Alpha Background Fill Option
- Dot Dash Lines
- Text Annotation Options
LEADTOOLS includes more than 25 built-in annotation objects that can be extended to create custom annotation objects. Developers can change the way the user interacts with existing annotations as well as create completely new annotation objects such as Triangle, Shutter, Text Bubble, Bull's-eye, and Permanent Magnifying Glass—the possibilities are endless with LEADTOOLS Annotations!
LEADTOOLS annotations may be stored in multiple formats, but the XML (Extensible Markup Language) format is the most popular. There are many advantages of using the XML format, including:
- XML is forward and backward compatible
- XML is human readable
- XML can be easily modified using a standard text editor
- XML can be easily parsed using any standard XML parser
- XML can be used with any of the growing number of applications and utilities that work with XML
With the rotate options interface, two rotate handles are displayed on a selected object. One of the handles is the "gripper" handle, which rotates the object when dragged. The other handle is the "center" handle, which determines the axis of rotation. The center and gripper handles can be moved by clicking and dragging.
The following figure illustrates a rotate by dragging the gripper handle:
The following figure illustrates moving the center handle:
With this feature, a user can automatically calibrate a ruler to the desired size. This is useful to allow a user to interactively measure something in an image. Any of the measurement type annotation objects can be calibrated using the Ruler Calibrate Automation Dialog.
This feature displays different cursors for many tasks in automated annotation mode. This feature displays unique annotation cursors in the following situations:
- When hovering over a rotation gripper handle
- When hovering over a rotation center handle
- When hovering over any of the eight size handles—an appropriate arrow cursor is displayed depending on the handle and the rotation of the annotation object
- When dragging a selection
- When using any of the 30 annotation tools
All annotation cursors may be changed to your own custom cursor.
The following figure displays some of the default cursors:
LEADTOOLS annotation objects support an alpha option to specify an alpha value from 0 (completely transparent background) to 255 (completely opaque background).
The following figure displays rectangle annotation objects with different alpha values:
Most of the LEAD annotation objects have Line Width and Line Style options. These options can be used to draw the annotations with varying line thicknesses and change the line style to solid, dashed, or dotted.
The following example illustrates this:
Text annotation object options include:
- Text visibility
- Text color
- Text Alignment
- Font style and size
- Border visibility
- Border color