drawInContentSpace Method
In This Topic
Draws an annotation on the canvas drawing context in the coordinate space of annotation.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebArrowAnnotationViewJS();
var value; // Type: boolean
// Parameters
var drawingContext; // Type: object
var canvasToAnnotationTransform; // Type: object
value = instance.drawInContentSpace(drawingContext, canvasToAnnotationTransform);
function drawInContentSpace(
: object,
: object
) : boolean;
Parameters
- drawingContext
- The canvas drawing context in the coordinate space of annotation.
- canvasToAnnotationTransform
- A matrix that defines transformation from canvas space to the annotation space.
Return Value
True - annotation is drawn successfully; false - annotation is NOT drawn.
Browser Compatibility
See Also