←Select platform

AnnAndroidRenderingEngine Constructor(AnnContainer,Canvas)

Summary

Initializes a new AnnAndroidRenderingEngine with the specified parameters.

Syntax
Java
public AnnAndroidRenderingEngine(AnnContainer container, Canvas context) 

Parameters

container
The annotation container that contains the objects to draw.

context
The destination canvas to render the annotations to.

Remarks

This constructor will initializes the following default renderers and set them in the Renderers dictionary:

Object ID Renderer
AnnObject.SELECT_OBJECT_ID

AnnRectangleObjectRenderer

AnnObject.LINE_OBJECT_ID

AnnPolylineObjectRenderer

AnnObject.RECTANGLE_OBJECT_ID

AnnRectangleObjectRenderer

AnnObject.ELLIPSE_OBJECT_ID

AnnEllipseObjectRenderer

AnnObject.POLY_RULER_OBJECT_ID

AnnPolyRulerObjectRenderer

AnnObject.RULER_OBJECT_ID

AnnPolyRulerObjectRenderer

AnnObject.POLYLINE_OBJECT_ID

AnnPolylineObjectRenderer

AnnObject.POLYGON_OBJECT_ID

AnnPolylineObjectRenderer

AnnObject.STAMP_OBJECT_ID

AnnStampObjectRenderer

AnnObject.RUBBER_STAMP_OBJECT_ID

AnnRubberStampObjectRenderer

AnnObject.TEXT_OBJECT_ID

AnnTextObjectRenderer

AnnObject.TEXT_ROLLUP_OBJECT_ID

AnnTextRollupObjectRenderer

AnnObject.TEXT_POINTER_OBJECT_ID

AnnTextPointerObjectRenderer

AnnObject.PROTRACTOR_OBJECT_ID

AnnProtractorObjectRenderer

AnnObject.CROSS_PRODUCT_OBJECT_ID

AnnCrossProductObjectRenderer

AnnObject.FREEHAND_OBJECT_ID

AnnPolylineObjectRenderer

AnnObject.HOTSPOT_OBJECT_ID

AnnHotspotObjectRenderer

AnnObject.FREEHAND_HOTSPOT_OBJECT_ID

AnnFreehandHotspotObjectRenderer

AnnObject.NOTE_OBJECT_ID

AnnNoteObjectRenderer

AnnObject.HILITE_OBJECT_ID

AnnHiliteObjectRenderer

AnnObject.POINT_OBJECT_ID

AnnPointObjectRenderer

AnnObject.CURVE_OBJECT_ID

AnnCurveObjectRenderer

AnnObject.CLOSED_CURVE_OBJECT_ID

AnnCurveObjectRenderer

AnnObject.POINTER_OBJECT_ID

AnnPointerObjectRenderer

AnnObject.ENCRYPT_OBJECT_ID

AnnEncryptObjectRenderer

AnnObject.MEDIA_OBJECT_ID and AnnObject.AUDIO_OBJECT_ID

AnnMediaObjectRenderer

Any user defined objects and ID must be added to the Renderers to be usable by this AnnAndroidRenderingEngine object.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly