PushClip Method

Summary
Specifies a rectangle to which all subsequent drawing operations are clipped. until PopClip is called.
Syntax
C#
C++/CLI
public void PushClip( 
   Rect rect 
) 
public: 
void PushClip(  
   Rect rect 
)  

Parameters

rect
The size and position of the clipping area, in device-independent pixels.

Remarks

The clipRect is transformed by the current transform set on the surface.

After the transform is applied to the clipRect that is passed in, the axis-aligned bounding box for the clipRect is computed. For efficiency, the contents are clipped to this axis-aligned bounding box and not to the original clipRect that is passed in.

A PushClip and PopClip pair can occur around or within a PushLayer and PopLayer, but cannot overlap.

Requirements

Target Platforms

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

Leadtools.Windows.D2DRendering Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.