Share via


Paint.TextSkewX Property

Definition

Return the paint's horizontal skew factor for text. -or- Set the paint's horizontal skew factor for text.

public virtual float TextSkewX { [Android.Runtime.Register("getTextSkewX", "()F", "GetGetTextSkewXHandler")] get; [Android.Runtime.Register("setTextSkewX", "(F)V", "GetSetTextSkewX_FHandler")] set; }
[<get: Android.Runtime.Register("getTextSkewX", "()F", "GetGetTextSkewXHandler")>]
[<set: Android.Runtime.Register("setTextSkewX", "(F)V", "GetSetTextSkewX_FHandler")>]
member this.TextSkewX : single with get, set

Property Value

the paint's skew factor in X for drawing text.

Attributes

Remarks

Property getter documentation:

Return the paint's horizontal skew factor for text. The default value is 0.

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

Property setter documentation:

Set the paint's horizontal skew factor for text. The default value is 0. For approximating oblique text, use values around -0.25.

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