Click or drag to resize
CanvasGradientMeshGetBounds Method (ICanvasResourceCreator)
Gets the bounds of this CanvasGradientMesh.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public Rect GetBounds(
	ICanvasResourceCreator resourceCreator
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator

Return Value

Type: Rect
Remarks

The bounds are the extent of this gradient mesh as if it were drawn relative to the origin with the drawing session's Transform set to the identity.

See Also