Share via


LineBackgroundSpanStandard 類別

定義

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

[Android.Runtime.Register("android/text/style/LineBackgroundSpan$Standard", ApiSince=29, DoNotGenerateAcw=true)]
public class LineBackgroundSpanStandard : Java.Lang.Object, Android.Text.IParcelableSpan, Android.Text.Style.ILineBackgroundSpan, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/text/style/LineBackgroundSpan$Standard", ApiSince=29, DoNotGenerateAcw=true)>]
type LineBackgroundSpanStandard = class
    inherit Object
    interface IParcelableSpan
    interface IParcelable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
    interface ILineBackgroundSpan
    interface IParagraphStyle
繼承
LineBackgroundSpanStandard
屬性
實作

備註

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

例如, LineBackgroundSpan 可以使用 如下:

String text = "This is a multiline text. LineBackgroundSpan is applied here. This is a multiline text.";
            SpannableString string = new SpannableString(text);
            string.setSpan(new LineBackgroundSpan.Standard(Color.YELLOW), 26, 61, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);

<img src=「 https://developer.android.com/reference/android/images/text/style/linebackgroundspan.png 」 / >< figcaption > Text with LineBackgroundSpan< /figcaption>

android.text.style.LineBackgroundSpan.Standard JAVA 檔。

此頁面的部分是根據所建立和共用的工作進行修改,並根據 2.5 屬性授權中所述的詞彙來使用。

建構函式

LineBackgroundSpanStandard(Color)

採用色彩整數的建構函式。

LineBackgroundSpanStandard(IntPtr, JniHandleOwnership)

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

LineBackgroundSpanStandard(Parcel)

LineBackgroundSpan.Standard從包裹建立

屬性

Class

傳回這個 Object 的執行時間類別。

(繼承來源 Object)
Color

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

Handle

基礎 Android 實例的控制碼。

(繼承來源 Object)
JniIdentityHashCode

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
JniPeerMembers

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

PeerReference

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
SpanTypeId

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

ThresholdClass

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

ThresholdType

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

方法

Clone()

建立並傳回這個 物件的複本。

(繼承來源 Object)
DescribeContents()

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

Dispose()

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
Dispose(Boolean)

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
DrawBackground(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, ICharSequence, Int32, Int32, Int32)

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

DrawBackground(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, String, Int32, Int32, Int32)

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

Equals(Object)

指出其他物件是否「等於」這個物件。

(繼承來源 Object)
GetHashCode()

傳回此物件的雜湊碼值。

(繼承來源 Object)
JavaFinalize()

當垃圾收集判斷物件不再參考物件時,垃圾收集行程會在物件上呼叫。

(繼承來源 Object)
Notify()

喚醒正在等候此物件監視器的單一線程。

(繼承來源 Object)
NotifyAll()

喚醒正在等候此物件監視器的所有線程。

(繼承來源 Object)
SetHandle(IntPtr, JniHandleOwnership)

設定 Handle 屬性。

(繼承來源 Object)
ToArray<T>()

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
ToString()

傳回物件的字串表示。

(繼承來源 Object)
UnregisterFromRuntime()

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
Wait()

讓目前的執行緒等到喚醒為止,通常是 em < notified/em > 或 < em > interrupted < /em > 。 ><

(繼承來源 Object)
Wait(Int64)

讓目前的執行緒等到喚醒為止,通常是 em < notified/em > 或 < em > interrupted < /em > ,或直到經過一定數量的即時為止。 <>

(繼承來源 Object)
Wait(Int64, Int32)

讓目前的執行緒等到喚醒為止,通常是 em < notified/em > 或 < em > interrupted < /em > ,或直到經過一定數量的即時為止。 <>

(繼承來源 Object)
WriteToParcel(Parcel, ParcelableWriteFlags)

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

明確介面實作

IJavaPeerable.Disposed()

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
IJavaPeerable.DisposeUnlessReferenced()

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
IJavaPeerable.Finalized()

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
IJavaPeerable.JniManagedPeerState

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

(繼承來源 Object)

擴充方法

JavaCast<TResult>(IJavaObject)

執行 Android 執行時間檢查的類型轉換。

DrawBackground(ILineBackgroundSpan, Canvas, Paint, Int32, Int32, Int32, Int32, Int32, String, Int32, Int32, Int32)

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

JavaCast<TResult>(IJavaObject)

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

GetJniTypeName(IJavaPeerable)

的預設實作 LineBackgroundSpan ,這會變更附加範圍之線條的背景色彩。

適用於