Base class for all thumb styles.
public abstract class AnnThumbStyle : Leadtools.Annotations.Core.Leadtools.Annotations.Core.IAnnThumbStyle
Public MustInherit Class AnnThumbStyle
Implements Leadtools.Annotations.Core.Leadtools.Annotations.Core.IAnnThumbStyle
public sealed class AnnThumbStyle : Leadtools.Annotations.Core.Leadtools.Annotations.Core.IAnnThumbStyle
@interface LTAnnThumbStyle : NSObject <LTIAnnThumbStyle, NSCopying>
public abstract class AnnThumbStyle implements IAnnThumbStyle
function Leadtools.Annotations.Rendering.AnnThumbStyle()
AnnThumbStyle is the default thumb style and renderer for the annotation objects in this platform. This is an abstract class that will implement most common operations, while actual rendering of the object is implemented in the derived class for the objects.
LEADTOOLS ships with the following thumb style implementations:
AnnRectangleThumbStyle: Rectangle thumb style
AnnEllipseThumbStyle: Ellipse thumb style
AnnObjectRenderer is the class responsible for rendering annotation objects, as well as rendering the objects themselves, the object renderer is responsible for rendering the thumbs used when the object is in a selected state.
The framework will call AnnObjectRenderer.RenderThumbs and AnnObjectRenderer.RenderRotatePointThumbs to render the selection and rotation thumbs at a specified location. These method will then call the AnnThumbStyle.Render of its LocationsThumbStyle, RotateCenterThumbStyle and RotateGripperThumbStyle objects to render the actual thumbs.
The annotations thumb style contains the following members:
Member | Description |
---|---|
Size |
The size of the thumb in container units. |
Fill |
The style to use for filling the thumb. |
Stroke |
The style to use for drawing the thumb. |
Render |
Called by the framework to render a thumb at a specified location. |
HitTest |
Called by the framework to check if a test point is on top of the thumb if rendered at a specified location. |
When implementing a user-defined thumb style, one of the tasks required is to render the thumbs of an annotation object. You can derive your thumb style from this class and use its helper methods.
Products |
Support |
Feedback: AnnThumbStyle Class - Leadtools.Annotations.Rendering |
Introduction |
Help Version 19.0.2017.3.22
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.