Click or drag to resize
CanvasDrawingSessionDrawCachedGeometry 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.GeometryCanvasCachedGeometry
x
Type: SystemSingle
y
Type: SystemSingle
brush
Type: Microsoft.Graphics.Canvas.BrushesICanvasBrush
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