语言

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

Java文档android.graphics.pdf.component.FreeTextAnnotation.FreeTextAnnotation(android.graphics.RectF, java.lang.String)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于