TextAttribute.Kerning Property

Definition

Attribute key to request kerning.

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

Property Value

Attributes

Remarks

Attribute key to request kerning. Values are instances of <b>Integer</b>. The default value is 0, which does not request kerning.

The constant value #KERNING_ON is provided.

The default advances of single characters are not appropriate for some character sequences, for example "To" or "AWAY". Without kerning the adjacent characters appear to be separated by too much space. Kerning causes selected sequences of characters to be spaced differently for a more pleasing visual appearance.

Added in 1.6.

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

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