Paint.Descent Method

Definition

Return the distance below (positive) the baseline (descent) based on the current typeface and text size.

[Android.Runtime.Register("descent", "()F", "GetDescentHandler")]
public virtual float Descent ();
[<Android.Runtime.Register("descent", "()F", "GetDescentHandler")>]
abstract member Descent : unit -> single
override this.Descent : unit -> single

Returns

the distance below (positive) the baseline (descent) based on the current typeface and text size.

Attributes

Remarks

Return the distance below (positive) the baseline (descent) based on the current typeface and text size.

Note that this is the descent of the main typeface, and actual text rendered may need a larger descent because fallback fonts may get used in rendering the text.

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

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