GraphicsExtensions DrawImageSmooth Method (Graphics, Image, PointF, AnchorStyles, Single) FormX
Windows Forms eXtensions
Draws an image with smoothed corners (gradient to transparency)

Namespace: System.DrawingX
Assembly: Windows.Forms.Extensions (in Windows.Forms.Extensions.dll) Version: 0.2.4510.21587 (0.2.*)
Syntax

<ExtensionAttribute> _
Public Shared Sub DrawImageSmooth ( _
	g As Graphics, _
	image As Image, _
	destination As PointF, _
	sides As AnchorStyles, _
	smoothness As Single _
)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OnlineGraphics. When you use instance method syntax to call this method, omit the first parameter. For more information, see [b8020aae-374d-46a9-bcb7-8cc2390b93b6] or [175ce3ff-9bbf-4e64-8421-faeb81a0bb51].
See Also