Represents a renderer for the text underline annotation object.
function lt.Annotations.Rendering.AnnSvgTextUnderlineObjectRenderer
extends lt.Annotations.Rendering.AnnSvgTextReviewObjectRenderer
implements IAnnObjectRenderer
class lt.Annotations.Rendering.AnnSvgTextUnderlineObjectRenderer()
extends AnnSvgTextReviewObjectRenderer
implements IAnnObjectRenderer
AnnSvgTextUnderlineObjectRenderer is the default renderer for the following objects:
AnnRenderingEngine creates a new instance of this class and stores it in the AnnRenderingEngine.Renderers dictionary for each of the listed object ids.
This renderer overrides RenderShape to render a thick horizontal line near the bottom of each rectangle as follows:
This thick line is really a rectangle that has a width equal to the rectangle width.
The height of the line is calculated from multiplying the height of the rectangle by the value of Thickness (0.15 by default which result in a line thickness equal to 15 percent of the rectangle height).
The position the line centered vertically at Position percentage value of the rectangle height (the default value of Position is 0.85 which result in the line centered verticaly at 85 percent of the height).
This thick line is then rendered as a filled rectangle using Fill.
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