←Select platform

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly