Clear Method

Summary
Clears the drawing area to the specified solid color brush.
Syntax
C#
VB
C++
public void Clear( 
   SolidColorBrush brush 
) 
  
Public Sub Clear( _ 
   ByVal brush As SolidColorBrush _ 
)  
public: 
void Clear(  
   SolidColorBrush^ brush 
)  

Parameters

brush
The solid color brush to which the drawing area is cleared.

Remarks

If the rendering target has an active clip (specified by PushClip), the clear command is applied only to the area within the clipping region.

Example

  !--D2DSurface.PushLayer-->

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.Windows.D2DRendering Assembly

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