次の方法で共有


ColorDrawable コンストラクター

定義

オーバーロード

ColorDrawable()

新しい黒の ColorDrawable を作成します。

ColorDrawable(Color)

指定した色で新しい ColorDrawable を作成します。

ColorDrawable(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

ColorDrawable()

新しい黒の ColorDrawable を作成します。

[Android.Runtime.Register(".ctor", "()V", "")]
public ColorDrawable ();
属性

注釈

新しい黒の ColorDrawable を作成します。

android.graphics.drawable.ColorDrawable.ColorDrawable()の Java ドキュメント。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象

ColorDrawable(Color)

指定した色で新しい ColorDrawable を作成します。

[Android.Runtime.Register(".ctor", "(I)V", "")]
public ColorDrawable (Android.Graphics.Color color);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Graphics.Drawables.ColorDrawable : Android.Graphics.Color -> Android.Graphics.Drawables.ColorDrawable

パラメーター

color
Color

描画する色。

属性

注釈

指定した色で新しい ColorDrawable を作成します。

android.graphics.drawable.ColorDrawable.ColorDrawable(int)の Java ドキュメント。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象

ColorDrawable(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

protected ColorDrawable (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Drawables.ColorDrawable : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Drawables.ColorDrawable

パラメーター

javaReference
IntPtr

nativeint

Java ネイティブ インターフェイス (JNI) オブジェクト参照を含む IntPtr

transfer
JniHandleOwnership

JniHandleOwnership処理方法を示すjavaReference

注釈

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象