setFillOpacityAndBounds Method (AnnHtml5RenderingEngine)

Summary

Represents a helper method to set an AnnBrush in a HTML 5 canvas context.

Syntax

JavaScript Syntax
setFillOpacityAndBounds = function(context, brush, opacity, brushBounds)
TypeScript Syntax
static setFillOpacityAndBounds(context: CanvasRenderingContext2D, brush: AnnBrush, opacity: number, brushBounds: LeadRectD): void;

Parameters

context

The destination canvas context.

brush

The brush to set.

opacity

The opacity to use. Values are from 0.0 to 1.0.

brushBounds

The brush boundary in pixels.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Rendering Assembly
Click or drag to resize