TextAppearanceSpan コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| TextAppearanceSpan(Parcel) |
指定した TextAppearance リソースを使用して、テキストの外観を決定します。 |
| TextAppearanceSpan(Context, Int32) |
指定した TextAppearance リソースを使用して、テキストの外観を決定します。 |
| TextAppearanceSpan(IntPtr, JniHandleOwnership) |
JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。 |
| TextAppearanceSpan(Context, Int32, Int32) |
指定した TextAppearance リソースを使用してテキストの外観を確認し、指定したテキストカラーリソースを使用して色を決定します。 |
| TextAppearanceSpan(String, TypefaceStyle, Int32, ColorStateList, ColorStateList) |
指定した書体、サイズ、スタイル、色でテキストを描画します。 |
TextAppearanceSpan(Parcel)
指定した TextAppearance リソースを使用して、テキストの外観を決定します。
[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public TextAppearanceSpan(Android.OS.Parcel? src);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Text.Style.TextAppearanceSpan : Android.OS.Parcel -> Android.Text.Style.TextAppearanceSpan
パラメーター
- src
- Parcel
- 属性
注釈
android.text.style.TextAppearanceSpan.TextAppearanceSpan(android.content.Context, int)の Java ドキュメント。
このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。
適用対象
TextAppearanceSpan(Context, Int32)
指定した TextAppearance リソースを使用して、テキストの外観を決定します。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")]
public TextAppearanceSpan(Android.Content.Context? context, int appearance);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")>]
new Android.Text.Style.TextAppearanceSpan : Android.Content.Context * int -> Android.Text.Style.TextAppearanceSpan
パラメーター
- context
- Context
- appearance
- Int32
- 属性
注釈
指定した TextAppearance リソースを使用して、テキストの外観を決定します。
appearanceは、たとえば、android.R.style.TextAppearance_Smallである必要があります。
android.text.style.TextAppearanceSpan.TextAppearanceSpan(android.content.Context, int)の Java ドキュメント。
このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。
適用対象
TextAppearanceSpan(IntPtr, JniHandleOwnership)
JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。
protected TextAppearanceSpan(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.Style.TextAppearanceSpan : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.Style.TextAppearanceSpan
パラメーター
- transfer
- JniHandleOwnership
JniHandleOwnership処理方法を示すjavaReference
注釈
このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。
適用対象
TextAppearanceSpan(Context, Int32, Int32)
指定した TextAppearance リソースを使用してテキストの外観を確認し、指定したテキストカラーリソースを使用して色を決定します。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;II)V", "")]
public TextAppearanceSpan(Android.Content.Context? context, int appearance, int colorList);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;II)V", "")>]
new Android.Text.Style.TextAppearanceSpan : Android.Content.Context * int * int -> Android.Text.Style.TextAppearanceSpan
パラメーター
- context
- Context
- appearance
- Int32
- colorList
- Int32
- 属性
注釈
指定した TextAppearance リソースを使用してテキストの外観を確認し、指定したテキストカラーリソースを使用して色を決定します。
appearanceはandroid.R.style.TextAppearance_Smallなどであり、colorListはandroid.R.styleable.Theme_textColorPrimaryなどにする必要があります。
このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。
適用対象
TextAppearanceSpan(String, TypefaceStyle, Int32, ColorStateList, ColorStateList)
指定した書体、サイズ、スタイル、色でテキストを描画します。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;IILandroid/content/res/ColorStateList;Landroid/content/res/ColorStateList;)V", "")]
public TextAppearanceSpan(string? family, Android.Graphics.TypefaceStyle style, int size, Android.Content.Res.ColorStateList? color, Android.Content.Res.ColorStateList? linkColor);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;IILandroid/content/res/ColorStateList;Landroid/content/res/ColorStateList;)V", "")>]
new Android.Text.Style.TextAppearanceSpan : string * Android.Graphics.TypefaceStyle * int * Android.Content.Res.ColorStateList * Android.Content.Res.ColorStateList -> Android.Text.Style.TextAppearanceSpan
パラメーター
- family
- String
- style
- TypefaceStyle
- size
- Int32
- color
- ColorStateList
- linkColor
- ColorStateList
- 属性
注釈
指定した書体、サイズ、スタイル、色でテキストを描画します。
このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。