Share via


PathF.AppendRoundedRectangle Method

Definition

Overloads

AppendRoundedRectangle(RectF, Single, Boolean)

Appends a rounded rectangle using the specified rectangle bounds and uniform corner radius.

AppendRoundedRectangle(RectF, Single, Single)

Appends a rounded rectangle using distinct horizontal and vertical radii (elliptical corners).

AppendRoundedRectangle(RectF, Single, Single, Single, Single, Boolean)

Appends a rounded rectangle using the specified rectangle bounds and individual corner radii.

AppendRoundedRectangle(Single, Single, Single, Single, Single, Boolean)

Appends a rounded rectangle where all four corners share the same radius.

AppendRoundedRectangle(Single, Single, Single, Single, Single, Single, Single, Single, Boolean)

Appends a rounded rectangle specifying individual corner radii.

AppendRoundedRectangle(RectF, Single, Boolean)

Source:
PathF.cs
Source:
PathF.cs
Source:
PathF.cs

Appends a rounded rectangle using the specified rectangle bounds and uniform corner radius.

public void AppendRoundedRectangle(Microsoft.Maui.Graphics.RectF rect, float cornerRadius, bool includeLast = false);
member this.AppendRoundedRectangle : Microsoft.Maui.Graphics.RectF * single * bool -> unit
Public Sub AppendRoundedRectangle (rect As RectF, cornerRadius As Single, Optional includeLast As Boolean = false)

Parameters

rect
RectF

The rectangle bounds.

cornerRadius
Single

Corner radius (clamped to half width/height).

includeLast
Boolean

Include a duplicate final line before closing.

Applies to

AppendRoundedRectangle(RectF, Single, Single)

Source:
PathF.cs
Source:
PathF.cs
Source:
PathF.cs

Appends a rounded rectangle using distinct horizontal and vertical radii (elliptical corners).

public:
 void AppendRoundedRectangle(Microsoft::Maui::Graphics::RectF rect, float xCornerRadius, float yCornerRadius);
public void AppendRoundedRectangle(Microsoft.Maui.Graphics.RectF rect, float xCornerRadius, float yCornerRadius);
member this.AppendRoundedRectangle : Microsoft.Maui.Graphics.RectF * single * single -> unit
Public Sub AppendRoundedRectangle (rect As RectF, xCornerRadius As Single, yCornerRadius As Single)

Parameters

rect
RectF

Bounding rectangle.

xCornerRadius
Single

Horizontal corner radius.

yCornerRadius
Single

Vertical corner radius.

Applies to

AppendRoundedRectangle(RectF, Single, Single, Single, Single, Boolean)

Source:
PathF.cs
Source:
PathF.cs
Source:
PathF.cs

Appends a rounded rectangle using the specified rectangle bounds and individual corner radii.

public void AppendRoundedRectangle(Microsoft.Maui.Graphics.RectF rect, float topLeftCornerRadius, float topRightCornerRadius, float bottomLeftCornerRadius, float bottomRightCornerRadius, bool includeLast = false);
member this.AppendRoundedRectangle : Microsoft.Maui.Graphics.RectF * single * single * single * single * bool -> unit
Public Sub AppendRoundedRectangle (rect As RectF, topLeftCornerRadius As Single, topRightCornerRadius As Single, bottomLeftCornerRadius As Single, bottomRightCornerRadius As Single, Optional includeLast As Boolean = false)

Parameters

rect
RectF

Bounding rectangle.

topLeftCornerRadius
Single

Top-left corner radius.

topRightCornerRadius
Single

Top-right corner radius.

bottomLeftCornerRadius
Single

Bottom-left corner radius.

bottomRightCornerRadius
Single

Bottom-right corner radius.

includeLast
Boolean

Include a duplicate final line before closing.

Applies to

AppendRoundedRectangle(Single, Single, Single, Single, Single, Boolean)

Source:
PathF.cs
Source:
PathF.cs
Source:
PathF.cs

Appends a rounded rectangle where all four corners share the same radius.

public void AppendRoundedRectangle(float x, float y, float w, float h, float cornerRadius, bool includeLast = false);
member this.AppendRoundedRectangle : single * single * single * single * single * bool -> unit
Public Sub AppendRoundedRectangle (x As Single, y As Single, w As Single, h As Single, cornerRadius As Single, Optional includeLast As Boolean = false)

Parameters

x
Single

Left.

y
Single

Top.

w
Single

Width.

h
Single

Height.

cornerRadius
Single

Corner radius (clamped to half width/height).

includeLast
Boolean

Include a duplicate final line before closing.

Applies to

AppendRoundedRectangle(Single, Single, Single, Single, Single, Single, Single, Single, Boolean)

Source:
PathF.cs
Source:
PathF.cs
Source:
PathF.cs

Appends a rounded rectangle specifying individual corner radii.

public void AppendRoundedRectangle(float x, float y, float w, float h, float topLeftCornerRadius, float topRightCornerRadius, float bottomLeftCornerRadius, float bottomRightCornerRadius, bool includeLast = false);
member this.AppendRoundedRectangle : single * single * single * single * single * single * single * single * bool -> unit
Public Sub AppendRoundedRectangle (x As Single, y As Single, w As Single, h As Single, topLeftCornerRadius As Single, topRightCornerRadius As Single, bottomLeftCornerRadius As Single, bottomRightCornerRadius As Single, Optional includeLast As Boolean = false)

Parameters

x
Single

Left.

y
Single

Top.

w
Single

Width.

h
Single

Height.

topLeftCornerRadius
Single

Top-left radius.

topRightCornerRadius
Single

Top-right radius.

bottomLeftCornerRadius
Single

Bottom-left radius.

bottomRightCornerRadius
Single

Bottom-right radius.

includeLast
Boolean

Include a duplicate final line before closing.

Applies to