var instance = new Vintasoft.Imaging.Annotation.UI.WebStampAnnotationViewJS(); var value; // Type: boolean // Parameters var drawingContext; // Type: object var canvasToAnnotationTransform; // Type: object value = instance.drawInContentSpace(drawingContext, canvasToAnnotationTransform);
function drawInContentSpace(
drawingContextThe canvas drawing context in the coordinate space of annotation.: object,
canvasToAnnotationTransformA matrix that defines transformation from canvas space to the annotation space.: 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.