ShapeDrawable.SetPadding 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
SetPadding(Rect) |
Rect 개체로 정의된 이 셰이프의 안쪽 여백을 설정합니다. |
SetPadding(Int32, Int32, Int32, Int32) |
셰이프의 안쪽 여백을 설정합니다. |
SetPadding(Rect)
Rect 개체로 정의된 이 셰이프의 안쪽 여백을 설정합니다.
[Android.Runtime.Register("setPadding", "(Landroid/graphics/Rect;)V", "GetSetPadding_Landroid_graphics_Rect_Handler")]
public virtual void SetPadding (Android.Graphics.Rect? padding);
[<Android.Runtime.Register("setPadding", "(Landroid/graphics/Rect;)V", "GetSetPadding_Landroid_graphics_Rect_Handler")>]
abstract member SetPadding : Android.Graphics.Rect -> unit
override this.SetPadding : Android.Graphics.Rect -> unit
매개 변수
- padding
- Rect
- 특성
설명
Rect 개체로 정의된 이 셰이프의 안쪽 여백을 설정합니다. Rect 개체의 안쪽 여백을 왼쪽, 위쪽, 오른쪽, 아래쪽으로 정의합니다.
에 대한 android.graphics.drawable.ShapeDrawable.setPadding(android.graphics.Rect)
Java 설명서
이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.
적용 대상
SetPadding(Int32, Int32, Int32, Int32)
셰이프의 안쪽 여백을 설정합니다.
[Android.Runtime.Register("setPadding", "(IIII)V", "GetSetPadding_IIIIHandler")]
public virtual void SetPadding (int left, int top, int right, int bottom);
[<Android.Runtime.Register("setPadding", "(IIII)V", "GetSetPadding_IIIIHandler")>]
abstract member SetPadding : int * int * int * int -> unit
override this.SetPadding : int * int * int * int -> unit
매개 변수
- left
- Int32
왼쪽의 안쪽 여백(픽셀)
- top
- Int32
위쪽의 안쪽 여백(픽셀)
- right
- Int32
오른쪽의 안쪽 여백(픽셀)
- bottom
- Int32
아래쪽의 안쪽 여백(픽셀)
- 특성
설명
셰이프의 안쪽 여백을 설정합니다.
에 대한 android.graphics.drawable.ShapeDrawable.setPadding(int, int, int, int)
Java 설명서
이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.