語言

FreeTextAnnotation(RectF, String) 建構函式

定義

建立一個新的自由文字註解,包含指定的界限與文字內容。

[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.graphics.pdf.component.FreeTextAnnotation.FreeTextAnnotation(android.graphics.RectF, java.lang.String)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於