Exemplo n.º 1
0
 /// <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 (&lt;img>),
 /// • HTMLVideoElement (&lt;video>),
 /// • HTMLCanvasElement (&lt;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);
 }
Exemplo n.º 2
0
 /// <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 (&lt;img>),
 /// • HTMLVideoElement (&lt;video>),
 /// • HTMLCanvasElement (&lt;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);
Exemplo n.º 3
0
 /// <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);
 }
Exemplo n.º 4
0
 /// <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);
 }
Exemplo n.º 5
0
 /// <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);
 }