SkiaImage.Resize(Single, Single, ResizeMode, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public Microsoft.Maui.Graphics.IImage Resize (float width, float height, Microsoft.Maui.Graphics.ResizeMode resizeMode = Microsoft.Maui.Graphics.ResizeMode.Fit, bool disposeOriginal = false);
abstract member Resize : single * single * Microsoft.Maui.Graphics.ResizeMode * bool -> Microsoft.Maui.Graphics.IImage
override this.Resize : single * single * Microsoft.Maui.Graphics.ResizeMode * bool -> Microsoft.Maui.Graphics.IImage
Public Function Resize (width As Single, height As Single, Optional resizeMode As ResizeMode = Microsoft.Maui.Graphics.ResizeMode.Fit, Optional disposeOriginal As Boolean = false) As IImage
參數
- width
- Single
- height
- Single
- resizeMode
- ResizeMode
- disposeOriginal
- Boolean