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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly