Base class for all object renderers.
public abstract class AnnObjectRenderer : IAnnObjectRenderer
Public MustInherit Class AnnObjectRenderer
Implements Leadtools.Annotations.Core.Leadtools.Annotations.Core.IAnnObjectRenderer
public sealed class AnnObjectRenderer : Leadtools.Annotations.Core.Leadtools.Annotations.Core.IAnnObjectRenderer
@interface LTAnnObjectRenderer : NSObject <LTIAnnObjectRenderer>
public abstract class AnnObjectRenderer implements IAnnObjectRenderer
function Leadtools.Annotations.Rendering.AnnObjectRenderer()
public:
ref class AnnObjectRenderer abstract : IAnnObjectRenderer
The AnnObjectRenderer is the default renderer for the annotation objects in this platform. This is an abstract class that implements most common operations, while actual rendering of the object is implemented in the derived class for the objects.
AnnObjectRenderer contains the following members:
Member | Description |
---|---|
Render |
Called by the framework to render an annotation object. |
LabelRenderer |
Used by the Render method to render the text labels of the object. |
RenderThumbs |
Called by the framework to render the thumbs of an annotation object when the object is in a selected state. |
LocationsThumbStyle |
The style to use in RenderThumbs. |
RenderRotatePointThumbs |
Called by the framework to render the rotation center and gripper thumbs when the object is in a selected state. |
RotateCenterThumbStyle and RotateGripperThumbStyle |
The style to use in RenderRotatePointThumbs. |
RenderLocked |
Called by the framework to render the locked portion of the object. |
RenderSelection |
Called by the framework to renders the selected part of this object if it supports a selection stroke. |
RenderAlignmentTarget |
Called by the framework to highlight rectangle above the bounds of alignment target object when EnableObjectsAlignment is turned on and the object is target alignment. |
When implementing user-defined annotations, one of the objects required is a renderer for the new object type. You can derive your renderer from this class and use its helper methods. For more information, refer to Implementing User-Defined Objects With LEADTOOLS Annotations.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET