SkiaSharp.SKImage.FromBitmap C# (CSharp) Méthode

FromBitmap() public static méthode

public static FromBitmap ( SKBitmap bitmap ) : SKImage
bitmap SKBitmap
Résultat SKImage
		public static SKImage FromBitmap (SKBitmap bitmap)
		{
			if (bitmap == null)
				throw new ArgumentNullException (nameof (bitmap));
			var handle = SkiaApi.sk_image_new_from_bitmap (bitmap.Handle);
			return GetObject<SKImage> (handle);
		}