ICanvas.SetFillPaint(Paint, RectF) 方法

定义

设置为 paint 图形对象的填充。

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)

参数

paint
Paint

要设置为填充的画图

rectangle
RectF

如果支持该矩形, paint 则应用渐变的矩形。

适用于