Share via


Path.AddRect Method

Definition

Overloads

AddRect(RectF, Path+Direction)

Add a closed rectangle contour to the path

AddRect(Single, Single, Single, Single, Path+Direction)

Add a closed rectangle contour to the path

AddRect(RectF, Path+Direction)

Add a closed rectangle contour to the path

[Android.Runtime.Register("addRect", "(Landroid/graphics/RectF;Landroid/graphics/Path$Direction;)V", "GetAddRect_Landroid_graphics_RectF_Landroid_graphics_Path_Direction_Handler")]
public virtual void AddRect (Android.Graphics.RectF rect, Android.Graphics.Path.Direction dir);
[<Android.Runtime.Register("addRect", "(Landroid/graphics/RectF;Landroid/graphics/Path$Direction;)V", "GetAddRect_Landroid_graphics_RectF_Landroid_graphics_Path_Direction_Handler")>]
abstract member AddRect : Android.Graphics.RectF * Android.Graphics.Path.Direction -> unit
override this.AddRect : Android.Graphics.RectF * Android.Graphics.Path.Direction -> unit

Parameters

rect
RectF

The rectangle to add as a closed contour to the path

dir
Path.Direction

The direction to wind the rectangle's contour

Attributes

Remarks

Java documentation for android.graphics.Path.addRect(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

AddRect(Single, Single, Single, Single, Path+Direction)

Add a closed rectangle contour to the path

[Android.Runtime.Register("addRect", "(FFFFLandroid/graphics/Path$Direction;)V", "GetAddRect_FFFFLandroid_graphics_Path_Direction_Handler")]
public virtual void AddRect (float left, float top, float right, float bottom, Android.Graphics.Path.Direction dir);
[<Android.Runtime.Register("addRect", "(FFFFLandroid/graphics/Path$Direction;)V", "GetAddRect_FFFFLandroid_graphics_Path_Direction_Handler")>]
abstract member AddRect : single * single * single * single * Android.Graphics.Path.Direction -> unit
override this.AddRect : single * single * single * single * Android.Graphics.Path.Direction -> unit

Parameters

left
Single

The left side of a rectangle to add to the path

top
Single

The top of a rectangle to add to the path

right
Single

The right side of a rectangle to add to the path

bottom
Single

The bottom of a rectangle to add to the path

dir
Path.Direction

The direction to wind the rectangle's contour

Attributes

Remarks

Java documentation for android.graphics.Path.addRect(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