'Declaration Public Overloads Shared Function GetBrush( _ ByVal ele As PaintElement, _ ByVal path As GraphicsPath _ ) As Brush
public static Brush GetBrush( PaintElement ele, GraphicsPath path )
This method is called to supply an appropriate GDI+ Brush object corresponding to the properties of a PaintElement instance.
When the shape of the area that requires filling is rectangular (or can be closely approximated by a rectangle without loss in a fill's fidelity), use the rect version of this method for better performance.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2