示例#1
0
		public static SKShader CreateBitmap (SKBitmap src, SKShaderTileMode tmx, SKShaderTileMode tmy, SKMatrix localMatrix)
		{
			if (src == null)
				throw new ArgumentNullException (nameof (src));

			return src.ToShader (tmx, tmy, localMatrix);
		}
示例#2
0
        public static SKShader CreateBitmap(SKBitmap src, SKShaderTileMode tmx, SKShaderTileMode tmy)
        {
            if (src == null)
            {
                throw new ArgumentNullException(nameof(src));
            }

            return(src.ToShader(tmx, tmy));
        }