Renders this thumb at the specified center location.
AnnSvgThumbStyle.prototype.render = function(
renderer,
mapper,
location,
operations
)
render(
renderer: IAnnObjectRenderer,
mapper: AnnContainerMapper,
location: LeadPointD,
operations: AnnFixedStateOperations
): void;
renderer
The object renderer beging invoked. Must not be null.
mapper
The mapper object to use for converting coordinates. 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 AnnSvgThumbStyle 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
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document