const virtual class vaseGraphics::Pattern

sys::Obj
  vaseGraphics::Pattern : vaseGraphics::Brush

@Js
@Serializable

Pattern is an brush for filling shapes with an image.

bg

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).

equals

virtual override Bool equals(Obj? obj)

Equality is based on fields.

halign

const Halign halign := Halign.repeat

Horizontal alignment, default is repeat. Fill it not supported.

Only repeat is supported in SWT.

hash

virtual override Int hash()

Hash is based on fields.

image

const Image image

Image to use for filling.

make

new make(Image image, Func<Void,This>? f := null)

Construct required image and optional with it-block

toStr

virtual override Str toStr()

Return string representation (no guarantee of format)

valign

const Valign valign := Valign.repeat

Vertical alignment, default is repeat. Fill it not supported.

Only repeat is supported in SWT.