Replies: 4 comments 3 replies
-
The text alignment values are no longer part of the paint, but a separate parameter in the DrawText methods. The paint.TextAlign should still work for now, but may be removed at a later date. But, that obsolete message is also incorrect, it should be |
Beta Was this translation helpful? Give feedback.
-
Problem is not finished. New questions. SKTextAlign - this property, with Get and Set. What about reading current SKTextAlign state? |
Beta Was this translation helpful? Give feedback.
-
Yeah, I'm struggling with this too. I've got the code below, but it's completely unclear as to how to migrate it to the new APIs etc. It would be helpful if the SkiaSharp samples were updated to replace the obsolete code too, so there are samples we can look at. Any chance you could provide some guidance on how to convert the code below to use the new APIs?
|
Beta Was this translation helpful? Give feedback.
-
Thank you |
Beta Was this translation helpful? Give feedback.
-
I'm updated package from 2.88.3 to 3.116.0/1 version.
Much members of SKPaint class is obsolete now. But not all can migrate because obsolete message incorrect or incomplete. Example,
What i must use now? Method SKTextAlign not found in sources.
Beta Was this translation helpful? Give feedback.
All reactions