Is it possible to use SKPaint.TextAlign in combination with SKCanvas.DrawTextOnPath

bay0fredbay0fred Frederik EichnerDEMember

Hi,
right now i am using SKPaint.TextAlign in combination with SKCanvas.DrawText for text aligning, which works fine.
My goal was to replace DrawText with DrawTextOnPath but somehow it does not work to align text on the right side.
Is it a bug or does DrawTextOnPath works differently?
best regards
Fred

Tagged:

Best Answer

Answers

  • bay0fredbay0fred Frederik Eichner DEMember

    Thanks for the quick answer!
    It works like you described it. I was just confused how to use the hOffset. I just realised if the text is aligned to the right and i want to move it to the left, i have to use a negative offset.

Sign In or Register to comment.