Condividi tramite


Path.AddRoundRect Method

Definition

Overloads

AddRoundRect(Single, Single, Single, Single, Single, Single, Path+Direction)

Add a closed round-rectangle contour to the path

AddRoundRect(Single, Single, Single, Single, Single[], Path+Direction)

Add a closed round-rectangle contour to the path

AddRoundRect(RectF, Single[], Path+Direction)

Add a closed round-rectangle contour to the path

AddRoundRect(RectF, Single, Single, Path+Direction)

Add a closed round-rectangle contour to the path

AddRoundRect(Single, Single, Single, Single, Single, Single, Path+Direction)

Add a closed round-rectangle contour to the path

[Android.Runtime.Register("addRoundRect", "(FFFFFFLandroid/graphics/Path$Direction;)V", "GetAddRoundRect_FFFFFFLandroid_graphics_Path_Direction_Handler")]
public virtual void AddRoundRect (float left, float top, float right, float bottom, float rx, float ry, Android.Graphics.Path.Direction dir);
[<Android.Runtime.Register("addRoundRect", "(FFFFFFLandroid/graphics/Path$Direction;)V", "GetAddRoundRect_FFFFFFLandroid_graphics_Path_Direction_Handler")>]
abstract member AddRoundRect : single * single * single * single * single * single * Android.Graphics.Path.Direction -> unit
override this.AddRoundRect : single * single * single * single * single * single * Android.Graphics.Path.Direction -> unit

Parameters

left
Single
top
Single
right
Single
bottom
Single
rx
Single

The x-radius of the rounded corners on the round-rectangle

ry
Single

The y-radius of the rounded corners on the round-rectangle

dir
Path.Direction

The direction to wind the round-rectangle's contour

Attributes

Remarks

Java documentation for android.graphics.Path.addRoundRect(float, float, float, float, float, float, android.graphics.Direction).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AddRoundRect(Single, Single, Single, Single, Single[], Path+Direction)

Add a closed round-rectangle contour to the path

[Android.Runtime.Register("addRoundRect", "(FFFF[FLandroid/graphics/Path$Direction;)V", "GetAddRoundRect_FFFFarrayFLandroid_graphics_Path_Direction_Handler")]
public virtual void AddRoundRect (float left, float top, float right, float bottom, float[] radii, Android.Graphics.Path.Direction dir);
[<Android.Runtime.Register("addRoundRect", "(FFFF[FLandroid/graphics/Path$Direction;)V", "GetAddRoundRect_FFFFarrayFLandroid_graphics_Path_Direction_Handler")>]
abstract member AddRoundRect : single * single * single * single * single[] * Android.Graphics.Path.Direction -> unit
override this.AddRoundRect : single * single * single * single * single[] * Android.Graphics.Path.Direction -> unit

Parameters

left
Single
top
Single
right
Single
bottom
Single
radii
Single[]

Array of 8 values, 4 pairs of [X,Y] radii

dir
Path.Direction

The direction to wind the round-rectangle's contour

Attributes

Remarks

Java documentation for android.graphics.Path.addRoundRect(float, float, float, float, float, float, android.graphics.Direction).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AddRoundRect(RectF, Single[], Path+Direction)

Add a closed round-rectangle contour to the path

[Android.Runtime.Register("addRoundRect", "(Landroid/graphics/RectF;[FLandroid/graphics/Path$Direction;)V", "GetAddRoundRect_Landroid_graphics_RectF_arrayFLandroid_graphics_Path_Direction_Handler")]
public virtual void AddRoundRect (Android.Graphics.RectF rect, float[] radii, Android.Graphics.Path.Direction dir);
[<Android.Runtime.Register("addRoundRect", "(Landroid/graphics/RectF;[FLandroid/graphics/Path$Direction;)V", "GetAddRoundRect_Landroid_graphics_RectF_arrayFLandroid_graphics_Path_Direction_Handler")>]
abstract member AddRoundRect : Android.Graphics.RectF * single[] * Android.Graphics.Path.Direction -> unit
override this.AddRoundRect : Android.Graphics.RectF * single[] * Android.Graphics.Path.Direction -> unit

Parameters

rect
RectF

The bounds of a round-rectangle to add to the path

radii
Single[]

Array of 8 values, 4 pairs of [X,Y] radii

dir
Path.Direction

The direction to wind the round-rectangle's contour

Attributes

Remarks

Java documentation for android.graphics.Path.addRoundRect(float, float, float, float, float, float, android.graphics.Direction).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AddRoundRect(RectF, Single, Single, Path+Direction)

Add a closed round-rectangle contour to the path

[Android.Runtime.Register("addRoundRect", "(Landroid/graphics/RectF;FFLandroid/graphics/Path$Direction;)V", "GetAddRoundRect_Landroid_graphics_RectF_FFLandroid_graphics_Path_Direction_Handler")]
public virtual void AddRoundRect (Android.Graphics.RectF rect, float rx, float ry, Android.Graphics.Path.Direction dir);
[<Android.Runtime.Register("addRoundRect", "(Landroid/graphics/RectF;FFLandroid/graphics/Path$Direction;)V", "GetAddRoundRect_Landroid_graphics_RectF_FFLandroid_graphics_Path_Direction_Handler")>]
abstract member AddRoundRect : Android.Graphics.RectF * single * single * Android.Graphics.Path.Direction -> unit
override this.AddRoundRect : Android.Graphics.RectF * single * single * Android.Graphics.Path.Direction -> unit

Parameters

rect
RectF

The bounds of a round-rectangle to add to the path

rx
Single

The x-radius of the rounded corners on the round-rectangle

ry
Single

The y-radius of the rounded corners on the round-rectangle

dir
Path.Direction

The direction to wind the round-rectangle's contour

Attributes

Remarks

Java documentation for android.graphics.Path.addRoundRect(float, float, float, float, float, float, android.graphics.Direction).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to