共用方式為


SkiaBitmapExportContext(Int32, Int32, Single, Int32, Boolean, Boolean) Constructor

Definition

public SkiaBitmapExportContext (int width, int height, float displayScale, int dpi = 72, bool disposeBitmap = true, bool transparent = true);
new Microsoft.Maui.Graphics.Skia.SkiaBitmapExportContext : int * int * single * int * bool * bool -> Microsoft.Maui.Graphics.Skia.SkiaBitmapExportContext
Public Sub New (width As Integer, height As Integer, displayScale As Single, Optional dpi As Integer = 72, Optional disposeBitmap As Boolean = true, Optional transparent As Boolean = true)

Parameters

width
Int32
height
Int32
displayScale
Single
dpi
Int32
disposeBitmap
Boolean
transparent
Boolean

Applies to