Parameter | Type | Description |
---|---|---|
container | AnnContainer | The annotation container that contains the objects to draw. |
context | CanvasContext2D | The destination canvas context 2d to render the annotations to. |
After this method is called, the Render method will draw all the objects in container into the destination graphics context (context) using the AnnContainerMapper set in AnnContainer.Mappper.
When rendering is done, you can call Detach to remove the coupling between the engine and container/context.