Share via


Drawable.SetBounds(Int32, Int32, Int32, Int32) 메서드

정의

Drawable에 대한 경계 사각형을 지정합니다.

[Android.Runtime.Register("setBounds", "(IIII)V", "GetSetBounds_IIIIHandler")]
public virtual void SetBounds (int left, int top, int right, int bottom);
[<Android.Runtime.Register("setBounds", "(IIII)V", "GetSetBounds_IIIIHandler")>]
abstract member SetBounds : int * int * int * int -> unit
override this.SetBounds : int * int * int * int -> unit

매개 변수

left
Int32
top
Int32
right
Int32
bottom
Int32
특성

설명

Drawable에 대한 경계 사각형을 지정합니다. draw() 메서드가 호출될 때 그리기 가능 항목이 그리는 위치입니다.

에 대한 Java 설명서입니다 android.graphics.drawable.Drawable.setBounds(int, int, int, int).

이 페이지의 일부는 만들고 공유하며 에 설명된 조건에 따라 사용되는 작업을 기반으로 수정됩니다.

적용 대상