Click or drag to resize

WpfExtensionsDraw Method (Identicon, DrawingContext, Rectangle)

Draws an Identicon in a specified WPF drawing context.

Namespace:  Jdenticon
Assembly:  Jdenticon.Wpf.dll
public static void Draw(
	this Identicon icon,
	DrawingContext drawingContext,
	Rectangle rect


Type: JdenticonIdenticon
The identicon to draw.
Type: System.Windows.MediaDrawingContext
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