You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Good day!
After the update, warnings appeared warning CS0618
static SKSize MeasureText(string text, int size)
{
var paint = new SKPaint
{
Color = SKColors.Black,
TextSize = size, <-- warning CS0618 Use SKFont.Size instead.
TextAlign = SKTextAlign.Center <-- warning CS0618 Use SKTextAlign method overloads instead.
};
var width = paint.MeasureText(text); <-- warning CS0618 Use SKFont.MeasureText() instead.
return new SKSize(width, size);
}
The API Documentation is available on the web to browse.
But there version SkiaSharp 2.88.x
Please explain how this can be changed?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions