FreeTextAnnotation(RectF, String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新的自由文字註解,包含指定的界限與文字內容。
[Android.Runtime.Register(".ctor", "(Landroid/graphics/RectF;Ljava/lang/String;)V", "", ApiSince=36)]
public FreeTextAnnotation(Android.Graphics.RectF bounds, string textContent);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/RectF;Ljava/lang/String;)V", "", ApiSince=36)>]
new Android.Graphics.Pdf.Component.FreeTextAnnotation : Android.Graphics.RectF * string -> Android.Graphics.Pdf.Component.FreeTextAnnotation
參數
- bounds
- RectF
註解的邊界矩形。
- textContent
- String
註解的文本內容
- 屬性
備註
建立一個新的自由文字註解,包含指定的界限與文字內容。
預設的文字顏色和背景色分別是黑色和白色。 此外,文字顏色的透明度無法修改,也就是文字顏色的 alpha 值永遠是 1
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。