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() メソッドが呼び出されたときに drawable が描画される場所です。

の Java ドキュメント android.graphics.drawable.Drawable.setBounds(int, int, int, int)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象