25.20. CanvasRenderingContext2D.createPattern( ): create a pattern of tiled images25.20.1. SynopsisCanvasPattern createPattern(Image image, String repetitionStyle) 25.20.1.1. Arguments
25.20.1.2. ReturnsA CanvasPattern object representing the pattern. 25.20.2. DescriptionThis method creates and returns a CanvasPattern object that represents the pattern defined by a tiled image. To use a pattern for stroking lines or filling areas, use a CanvasPattern object as the value of the strokeStyle or fillStyle properties. 25.20.3. BugsFirefox 1.5 supports only the "repeat" style. Others are ignored. 25.20.4. See AlsoCanvasPattern |