Click or drag to resize
CanvasDrawingSession.FillRectangle Method (Single, Single, Single, Single, ICanvasBrush)
Fills the interior of a rectangle, 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 FillRectangle(
	float x,
	float y,
	float w,
	float h,
	ICanvasBrush brush
)

Parameters

x
Type: System.Single
y
Type: System.Single
w
Type: System.Single
h
Type: System.Single
brush
Type: Microsoft.Graphics.Canvas.Brushes.ICanvasBrush
See Also