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
public static void Draw(
	this Identicon icon,
	Graphics g,
	Rectangle rect


Type: JdenticonIdenticon
The identicon to draw.
Type: System.DrawingGraphics
Drawing context in which the icon will be rendered.
Type: Jdenticon.RenderingRectangle
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