FreeTextAnnotation.TextColor Property

Definition

Returns the text color of the freetext annotation. -or- Sets the text color of the annotation.

public Android.Graphics.Color TextColor { [Android.Runtime.Register("getTextColor", "()I", "", ApiSince=36)] get; [Android.Runtime.Register("setTextColor", "(I)V", "", ApiSince=36)] set; }
[<get: Android.Runtime.Register("getTextColor", "()I", "", ApiSince=36)>]
[<set: Android.Runtime.Register("setTextColor", "(I)V", "", ApiSince=36)>]
member this.TextColor : Android.Graphics.Color with get, set

Property Value

The text color.

Attributes

Remarks

Property getter documentation:

Returns the text color of the freetext annotation.

Java documentation for android.graphics.pdf.component.FreeTextAnnotation.getTextColor().

Property setter documentation:

Sets the text color of the annotation.

Please note that the transparency of the color can't be modified. Alpha value of the text color will always be 1 (i.e. fully opaque) even if a color with different alpha value is set using this method

Java documentation for android.graphics.pdf.component.FreeTextAnnotation.setTextColor(int).

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