Share via


ICanvas.SetFillPaint(Paint, RectF) Method

Definition

Sets paint as the fill of a graphical object.

public:
 void SetFillPaint(Microsoft::Maui::Graphics::Paint ^ paint, Microsoft::Maui::Graphics::RectF rectangle);
public void SetFillPaint (Microsoft.Maui.Graphics.Paint paint, Microsoft.Maui.Graphics.RectF rectangle);
abstract member SetFillPaint : Microsoft.Maui.Graphics.Paint * Microsoft.Maui.Graphics.RectF -> unit
Public Sub SetFillPaint (paint As Paint, rectangle As RectF)

Parameters

paint
Paint

Paint to set as fill

rectangle
RectF

Rectangle to apply a gradient on if the paint supports it.

Applies to