コード例 #1
0
 public static SKImageInfo DecodeBounds(Stream stream)
 {
     if (stream == null)
     {
         throw new ArgumentNullException(nameof(stream));
     }
     return(DecodeBounds(SKStream.WrapManagedStream(stream)));
 }
コード例 #2
0
 public static SKBitmap Decode(Stream stream, SKImageInfo bitmapInfo)
 {
     if (stream == null)
     {
         throw new ArgumentNullException(nameof(stream));
     }
     return(Decode(SKStream.WrapManagedStream(stream), bitmapInfo));
 }
コード例 #3
0
        public static SKData Create(Stream stream, long length)
        {
            if (stream == null)
            {
                throw new ArgumentNullException(nameof(stream));
            }

            return(Create(SKStream.WrapManagedStream(stream), length));
        }