GdiExtensionsDraw Method (Identicon, Graphics, Rectangle)

Draws an Identicon in a specified GDI drawing context.
public static void Draw(
	this Identicon icon,
	Graphics g,
	Rectangle rect
)
View source
Namespace
Jdenticon
Assembly
Jdenticon.Gdi.dll

Parameters

iconJdenticonIdenticon
The identicon to draw.
gSystem.DrawingGraphics
Drawing context in which the icon will be rendered.
rectSystem.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

Reference