endClipPath Method

Summary

Removes the current clipping path from the context.

Syntax
TypeScript
JavaScript
AnnObjectRenderer.prototype.endClipPath = function( 
   state 
) 
endClipPath( 
   state: any 
): void; // protected 

Parameters

state

The state object returned from BeginClipPath

Remarks

Some object renderers require that a clipping path be set in context in order to perform the rendering. These objects call the BeginClipPath method to notify a derived class that a clipping path has been set. The object then calls the EndClipPath method when the clipping path is removed. Between BeginClipPath and EndClipPath, the value of the ClipPath property gets set to true. Derived classes can check the value of this property to detect when the context has a clipping path.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.