Renders this thumb at the specified center location.
void Render(
Leadtools.Annotations.Core.IAnnObjectRenderer renderer,
Leadtools.Annotations.Core.AnnContainerMapper mapper,
Leadtools.LeadPointD location,
Leadtools.Annotations.Core.AnnFixedStateOperations operations
)
Sub Render( _
ByVal renderer As Leadtools.Annotations.Core.IAnnObjectRenderer, _
ByVal mapper As Leadtools.Annotations.Core.AnnContainerMapper, _
ByVal location As Leadtools.LeadPointD, _
ByVal operations As Leadtools.Annotations.Core.AnnFixedStateOperations _
)
void Render(
Leadtools.Annotations.Core.IAnnObjectRenderer renderer,
Leadtools.Annotations.Core.AnnContainerMapper mapper,
Leadtools.LeadPointD location,
Leadtools.Annotations.Core.AnnFixedStateOperations operations
)
-(void) render:(id<LTIAnnObjectRenderer>) render
mapper:(LTAnnContainerMapper*)mapper
location:(LeadPointD) location
operation:(LTAnnFixedStateOperations) operation;
void render(IAnnObjectRenderer renderer, AnnContainerMapper mapper, LeadPointD location, int annFixedStateOperations);
function Leadtools.Annotations.Core.IAnnThumbStyle.Render(
renderer ,
mapper ,
location ,
operations
)
renderer
The object renderer being invoked. This value must not be null.
mapper
The mapper object to use for converting coordinates. This value must not be null.
location
The center location of the thumb in container coordinates.
operations
The fixed state of the owner object.
This method is called by renderer from the IAnnObjectRenderer.RenderThumbs and IAnnObjectRenderer.RenderRotatePointThumbs methods. The framework will call these methods to render the selected and rotation thumbs of an object.
This IAnnThumbStyle perform the following during this method:
Converts the center location into physical coordinates using mapper.PointFromContainerCoordinates and Size into physical coordinates using mapper.SizeFromContainerCoordinates and then creates a rectangle for converted location and size (with its origin at the location).
Calls AddPath passing the rectangle calculated above to allow the implementation class to draw the actual thumb shape
Finally, uses Fill and Stroke to fill and draw the path onto the destination context (stored in renderer.RenderingEngine
Products |
Support |
Feedback: Render Method (IAnnThumbStyle) - Leadtools.Annotations.Core |
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.