Click or drag to resize
CanvasDrawingSession.DrawCachedGeometry Method (CanvasCachedGeometry, Single, Single, ICanvasBrush)
Draws a cached geometry relative to the specified position, using a brush to define the color.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void DrawCachedGeometry(
	CanvasCachedGeometry geometry,
	float x,
	float y,
	ICanvasBrush brush
)

Parameters

geometry
Type: Microsoft.Graphics.Canvas.Geometry.CanvasCachedGeometry
x
Type: System.Single
y
Type: System.Single
brush
Type: Microsoft.Graphics.Canvas.Brushes.ICanvasBrush
Remarks
Whether this operation is a stroke or fill is determined by whether the cached geometry was created by CreateStroke Overload or CreateFill Overload.
See Also