FreeTextAnnotation(RectF, String) Constructor

Definition

Creates a new free text annotation with the specified bounds and text content.

[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

Parameters

bounds
RectF

The bounding rectangle of the annotation.

textContent
String

The text content of the annotation

Attributes

Remarks

Creates a new free text annotation with the specified bounds and text content.

The default text color and background color will be black and white respectively. Also, transparency of the text color can't be modified i.e. alpha value of the text color will always be 1

Java documentation for android.graphics.pdf.component.FreeTextAnnotation.FreeTextAnnotation(android.graphics.RectF, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to