Condividi tramite


Paint.WordSpacing Property

Definition

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

public virtual float WordSpacing { [Android.Runtime.Register("getWordSpacing", "()F", "GetGetWordSpacingHandler", ApiSince=29)] get; [Android.Runtime.Register("setWordSpacing", "(F)V", "GetSetWordSpacing_FHandler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getWordSpacing", "()F", "GetGetWordSpacingHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setWordSpacing", "(F)V", "GetSetWordSpacing_FHandler", ApiSince=29)>]
member this.WordSpacing : single with get, set

Property Value

the paint's extra word-spacing for drawing text in pixels.

Attributes

Remarks

Property getter documentation:

Return the paint's extra word-spacing for text.

The default value is 0.

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

Property setter documentation:

Set the paint's extra word-spacing for text.

Increases the white space width between words with the given amount of pixels. The default value is 0.

Java documentation for android.graphics.Paint.setWordSpacing(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