TiledImage.this

this(Image source, int width = 0, int height = 0)

Creates a tiled image from a source image.

The source image is repeated to fill an area of the specified width and height. If width or height is 0, the source image's corresponding dimension is used.

Parameters

sourceSource image to tile
widthWidth of tiled area (0 = use source width)
heightHeight of tiled area (0 = use source height)