ICanvas.SetFillPaint(Paint, RectF) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.