Pattern is an brush for filling shapes with an image.
Slots
- bgSource
-
const Color? bg
Background color to use underneath image filling, or null for no background color.
This feature is not supported in SWT when used with Graphics (it is supported in BorderPane).
- equalsSource
-
override Bool equals(Obj? obj)
Overrides sys::Obj.equals
Equality is based on fields.
- halignSource
-
const Halign halign := Halign.repeat
Horizontal alignment, default is repeat. Fill it not supported.
Only repeat is supported in SWT.
- hashSource
-
override Int hash()
Overrides sys::Obj.hash
Hash is based on fields.
- imageSource
-
const Image image
Image to use for filling.
- makeSource
-
new make(Image image, |Pattern|? f := null)
Construct required image and optional with it-block
- toStrSource
-
override Str toStr()
Overrides sys::Obj.toStr
Return string representation (no guarantee of format)
- valignSource
-
const Valign valign := Valign.repeat
Vertical alignment, default is repeat. Fill it not supported.
Only repeat is supported in SWT.