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
Syntax
public static void Draw(
	this Identicon icon,
	DrawingContext drawingContext,
	Rectangle rect
)

Parameters

icon
Type: JdenticonIdenticon
The identicon to draw.
drawingContext
Type: System.Windows.MediaDrawingContext
Drawing context in which the icon will be rendered.
rect
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