如何使用Skiasharp软件包和{{#flag}}
your fancy code here which will onyl work if the user is logged in
{{/flag}}
强制图像具有屏幕的高度和宽度?
答案 0 :(得分:1)
您需要提供所需位图的图像信息和调整大小方法。 例如:
var dstInfo = new SKImageInfo(_fixedheightint, _fixedwidthint);
mybitmap.Resize(dstInfo, SKBitmapResizeMethod.Hamming);