Click or drag to resize
CanvasGradientMeshGetBounds Method (ICanvasResourceCreator, Matrix3x2)
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,
	Matrix3x2 transform
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator
transform
Type: System.NumericsMatrix3x2

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 specified transform.

See Also