/// <summary> /// Creates a pattern using the specified image (a CanvasImageSource). It repeats the source in the /// directions specified by the repetition argument. This method returns a CanvasPattern. /// </summary> /// <param name="image"> /// A CanvasImageSource to be used as image to repeat. It can either be a: /// • HTMLImageElement (<img>), /// • HTMLVideoElement (<video>), /// • HTMLCanvasElement (<canvas>), /// • CanvasRenderingContext2D, /// • ImageBitmap (c# object for now), /// • ImageData, or a /// • Blob. /// </param> /// <param name="repetition"></param> /// <returns>An opaque CanvasPattern object describing a pattern.</returns> /// <remarks> /// At the time of implementation, ImageBitmap had no documentation and Bridge.NET did not have /// it defined inside. /// </remarks> public virtual CanvasPattern CreatePattern( Any <ImageElement, VideoElement, CanvasElement, CanvasRenderingContext2D, object, ImageData, Blob> image, CanvasTypes.CanvasRepetitionTypes repetition) { return(null); }
/// <summary> /// Creates a pattern using the specified image (a CanvasImageSource). It repeats the source in the /// directions specified by the repetition argument. This method returns a CanvasPattern. /// </summary> /// <param name="image"> /// A CanvasImageSource to be used as image to repeat. It can either be a: /// • HTMLImageElement (<img>), /// • HTMLVideoElement (<video>), /// • HTMLCanvasElement (<canvas>), /// • CanvasRenderingContext2D, /// • ImageBitmap (c# object for now), /// • ImageData, or a /// • Blob. /// </param> /// <param name="repetition"></param> /// <returns>An opaque CanvasPattern object describing a pattern.</returns> /// <remarks> /// At the time of implementation, ImageBitmap had no documentation and Bridge.NET did not have /// it defined inside. /// </remarks> public virtual extern CanvasPattern CreatePattern( Any <HTMLImageElement, HTMLVideoElement, HTMLCanvasElement, CanvasRenderingContext2D, object, ImageData, Blob> image, CanvasTypes.CanvasRepetitionTypes repetition);
/// <summary> /// Creates a pattern using the specified image (a CanvasImageSource). It repeats the source in the /// directions specified by the repetition argument. This method returns a CanvasPattern. /// </summary> /// <param name="image"></param> /// <param name="repetition"></param> /// <returns></returns> public virtual CanvasPattern CreatePattern(CanvasRenderingContext2D image, CanvasTypes.CanvasRepetitionTypes repetition) { return(null); }
/// <summary> /// Creates a pattern using the specified image (a CanvasImageSource). It repeats the source in the /// directions specified by the repetition argument. This method returns a CanvasPattern. /// </summary> /// <param name="image"></param> /// <param name="repetition"></param> /// <returns></returns> /// <remarks> /// At the time of implementation, ImageBitmap had no documentation and Bridge.NET did not have /// it defined inside. /// </remarks> public virtual CanvasPattern CreatePattern(string image, CanvasTypes.CanvasRepetitionTypes repetition) { return(null); }
/// <summary> /// Creates a pattern using the specified image (a CanvasImageSource). It repeats the source in the /// directions specified by the repetition argument. This method returns a CanvasPattern. /// </summary> /// <param name="image"></param> /// <param name="repetition"></param> /// <returns></returns> public virtual CanvasPattern CreatePattern(VideoElement image, CanvasTypes.CanvasRepetitionTypes repetition) { return(null); }