Share via


GradientDrawable.SetPadding(Int32, Int32, Int32, Int32) Method

Definition

Configure the padding of the gradient shape

[Android.Runtime.Register("setPadding", "(IIII)V", "GetSetPadding_IIIIHandler", ApiSince=29)]
public virtual void SetPadding (int left, int top, int right, int bottom);
[<Android.Runtime.Register("setPadding", "(IIII)V", "GetSetPadding_IIIIHandler", ApiSince=29)>]
abstract member SetPadding : int * int * int * int -> unit
override this.SetPadding : int * int * int * int -> unit

Parameters

left
Int32

Left padding of the gradient shape

top
Int32

Top padding of the gradient shape

right
Int32

Right padding of the gradient shape

bottom
Int32

Bottom padding of the gradient shape

Attributes

Remarks

Configure the padding of the gradient shape

Java documentation for android.graphics.drawable.GradientDrawable.setPadding(int, int, int, int).

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