function Leadtools.Annotations.Rendering.AnnTextReviewObjectRenderer.renderShape( mapper , annTextReviewObject , context , rect )
Parameter | Type | Description |
---|---|---|
mapper | AnnContainerMapper | The mapper object to use for converting coordinates. Must not be null. |
annTextReviewObject | AnnTextReviewObject | The object to render. Must not be null. |
context | CanvasContext2D | The graphics context to use when rendering the object. |
rect | LeadRectD | Rectangle area to render this shape. |
This method is called by this renderer for each rectangle in the AnnTextReviewObject. The derived classes can render the exact shape required in rect.