Condividi tramite


TextAttribute.Tracking Property

Definition

Attribute key to control tracking.

[Android.Runtime.Register("TRACKING")]
public static Java.Awt.Font.TextAttribute? Tracking { get; }
[<Android.Runtime.Register("TRACKING")>]
static member Tracking : Java.Awt.Font.TextAttribute

Property Value

Attributes

Remarks

Attribute key to control tracking. Values are instances of <b>Number</b>. The default value is 0, which means no additional tracking.

The constant values #TRACKING_TIGHT and #TRACKING_LOOSE are provided.

The tracking value is multiplied by the font point size and passed through the font transform to determine an additional amount to add to the advance of each glyph cluster. Positive tracking values will inhibit formation of optional ligatures. Tracking values are typically between -0.1 and 0.3; values outside this range are generally not desireable.

Added in 1.6.

Java documentation for java.awt.font.TextAttribute.TRACKING.

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