CanvasExtensions.FillArc 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.
Overloads
FillArc(ICanvas, Single, Single, Single, Single, Single, Single, Paint, Boolean) |
Fills the arc with the specified paint. This is a helper method for when filling an arc with a gradient, so that you don't need to worry about calculating the gradient handle locations based on the rectangle size and location. |
FillArc(ICanvas, RectF, Single, Single, Boolean) |
Fills the arc. This is a helper method to fill an arc when you have a rectangle already defined for the ellipse bounds. |
FillArc(ICanvas, Rect, Single, Single, Boolean) |
Fills the arc. This is a helper method to fill an arc when you have a rectangle already defined for the ellipse bounds. |
FillArc(ICanvas, Single, Single, Single, Single, Single, Single, Paint, Boolean)
- Source:
- CanvasExtensions.cs
- Source:
- CanvasExtensions.cs
Fills the arc with the specified paint. This is a helper method for when filling an arc with a gradient, so that you don't need to worry about calculating the gradient handle locations based on the rectangle size and location.
public:
[System::Runtime::CompilerServices::Extension]
static void FillArc(Microsoft::Maui::Graphics::ICanvas ^ canvas, float x, float y, float width, float height, float startAngle, float endAngle, Microsoft::Maui::Graphics::Paint ^ paint, bool clockwise);
public static void FillArc (this Microsoft.Maui.Graphics.ICanvas canvas, float x, float y, float width, float height, float startAngle, float endAngle, Microsoft.Maui.Graphics.Paint paint, bool clockwise);
static member FillArc : Microsoft.Maui.Graphics.ICanvas * single * single * single * single * single * single * Microsoft.Maui.Graphics.Paint * bool -> unit
<Extension()>
Public Sub FillArc (canvas As ICanvas, x As Single, y As Single, width As Single, height As Single, startAngle As Single, endAngle As Single, paint As Paint, clockwise As Boolean)
Parameters
- canvas
- ICanvas
canvas
- x
- Single
The x coordinate.
- y
- Single
The y coordinate.
- width
- Single
The rectangle width.
- height
- Single
The rectangle height
- startAngle
- Single
The start angle
- endAngle
- Single
The end angle
- paint
- Paint
The paint
- clockwise
- Boolean
The direction to draw the arc
Applies to
FillArc(ICanvas, RectF, Single, Single, Boolean)
- Source:
- CanvasExtensions.cs
- Source:
- CanvasExtensions.cs
Fills the arc. This is a helper method to fill an arc when you have a rectangle already defined for the ellipse bounds.
public:
[System::Runtime::CompilerServices::Extension]
static void FillArc(Microsoft::Maui::Graphics::ICanvas ^ canvas, Microsoft::Maui::Graphics::RectF bounds, float startAngle, float endAngle, bool clockwise);
public static void FillArc (this Microsoft.Maui.Graphics.ICanvas canvas, Microsoft.Maui.Graphics.RectF bounds, float startAngle, float endAngle, bool clockwise);
static member FillArc : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.RectF * single * single * bool -> unit
<Extension()>
Public Sub FillArc (canvas As ICanvas, bounds As RectF, startAngle As Single, endAngle As Single, clockwise As Boolean)
Parameters
- canvas
- ICanvas
canvas
- bounds
- RectF
The ellipse bounds.
- startAngle
- Single
The start angle
- endAngle
- Single
The end angle
- clockwise
- Boolean
The direction to draw the arc
Applies to
FillArc(ICanvas, Rect, Single, Single, Boolean)
- Source:
- CanvasExtensions.cs
- Source:
- CanvasExtensions.cs
Fills the arc. This is a helper method to fill an arc when you have a rectangle already defined for the ellipse bounds.
public:
[System::Runtime::CompilerServices::Extension]
static void FillArc(Microsoft::Maui::Graphics::ICanvas ^ canvas, Microsoft::Maui::Graphics::Rect bounds, float startAngle, float endAngle, bool clockwise);
public static void FillArc (this Microsoft.Maui.Graphics.ICanvas canvas, Microsoft.Maui.Graphics.Rect bounds, float startAngle, float endAngle, bool clockwise);
static member FillArc : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.Rect * single * single * bool -> unit
<Extension()>
Public Sub FillArc (canvas As ICanvas, bounds As Rect, startAngle As Single, endAngle As Single, clockwise As Boolean)
Parameters
- canvas
- ICanvas
canvas
- bounds
- Rect
The ellipse bounds.
- startAngle
- Single
The start angle
- endAngle
- Single
The end angle
- clockwise
- Boolean
The direction to draw the arc
Applies to
.NET MAUI
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기