ImagePattern
classin packageklyn.gui.windows
public class ImagePattern:
Repeated image paint, similar to `CanvasPattern`.
pattern = ImagePattern("checker.png", "repeat")
print(pattern)
Properties
| Modifier and Type |
Member |
Description |
| public property |
image |
Image-like source object. |
| public property |
repetition |
Repeat mode: `repeat`, `repeat-x`, `repeat-y` or `no-repeat`. |
Constructors
| Modifier and Type |
Member |
Description |
| public |
ImagePattern |
No summary. |
Methods
| Modifier and Type |
Member |
Description |
| public override |
toString |
No summary. |