PositionedGlyphs.Advance Property

Definition

Returns the total amount of advance consumed by this positioned glyphs.

public float Advance { [Android.Runtime.Register("getAdvance", "()F", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getAdvance", "()F", "", ApiSince=31)>]
member this.Advance : single

Property Value

total amount of advance

Attributes

Remarks

Returns the total amount of advance consumed by this positioned glyphs.

The advance is an amount of width consumed by the glyph. The total amount of advance is a total amount of advance consumed by this series of glyphs. In other words, if another glyph is placed next to this series of glyphs, it's X offset should be shifted this amount of width.

Java documentation for android.graphics.text.PositionedGlyphs.getAdvance().

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