Click or drag to resize

GdiExtensionsDraw Method (Identicon, Graphics, Rectangle)

Draws an Identicon in a specified GDI drawing context.

Namespace:  Jdenticon
Assembly:  Jdenticon.Gdi.dll
Syntax
public static void Draw(
	this Identicon icon,
	Graphics g,
	Rectangle rect
)

Parameters

icon
Type: JdenticonIdenticon
The identicon to draw.
g
Type: System.DrawingGraphics
Drawing context in which the icon will be rendered.
rect
Type: System.DrawingRectangle
The bounds of the rendered icon. No padding will be applied to the rectangle.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Identicon. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also