LetterSpacingSpan

public class LetterSpacingSpan


LetterSpacingSpan class used to apply custom spacing between letters.

Summary

Public constructors

LetterSpacingSpan(@NonNull float letterSpacingEm)

Public methods

@Override @NonNull void
@Override @NonNull void

Public constructors

LetterSpacingSpan

public LetterSpacingSpan(@NonNull float letterSpacingEm)
Parameters
@NonNull float letterSpacingEm

letter-spacing for text.

Public methods

updateDrawState

@Override
@NonNull
public @Override void updateDrawState(@NonNull TextPaint textPaint)

updateMeasureState

@Override
@NonNull
public @Override void updateMeasureState(@NonNull TextPaint textPaint)