ImagePattern
class in package klyn.gui.windows

    public class ImagePattern:

ImagePattern

Repeated image paint, similar to `CanvasPattern`.

    pattern = ImagePattern("checker.png", "repeat")
    print(pattern)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public property | image `image as Object` | Image-like source object.
public property | repetition `repetition as String` | Repeat mode: `repeat`, `repeat-x`, `repeat-y` or `no-repeat`.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | ImagePattern `ImagePattern(image as Object = null, repetition as String = "repeat"):` | No summary.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public override | toString `toString() as String:` | No summary.