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에 대한 경계 사각형을 지정합니다. drawable이 draw() 메서드를 호출할 때 그리는 위치입니다.

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

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

적용 대상