Share via


Paint.LetterSpacing Property

Definition

Return the paint's letter-spacing for text. -or- Set the paint's letter-spacing for text.

public virtual float LetterSpacing { [Android.Runtime.Register("getLetterSpacing", "()F", "GetGetLetterSpacingHandler")] get; [Android.Runtime.Register("setLetterSpacing", "(F)V", "GetSetLetterSpacing_FHandler")] set; }
[<get: Android.Runtime.Register("getLetterSpacing", "()F", "GetGetLetterSpacingHandler")>]
[<set: Android.Runtime.Register("setLetterSpacing", "(F)V", "GetSetLetterSpacing_FHandler")>]
member this.LetterSpacing : single with get, set

Property Value

the paint's letter-spacing for drawing text.

Attributes

Remarks

Property getter documentation:

Return the paint's letter-spacing for text. The default value is 0.

Java documentation for android.graphics.Paint.getLetterSpacing().

Property setter documentation:

Set the paint's letter-spacing for text. The default value is 0. The value is in 'EM' units. Typical values for slight expansion will be around 0.05. Negative values tighten text.

Java documentation for android.graphics.Paint.setLetterSpacing(float).

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