Brush
class in package klyn.gui.windows

    public class Brush:

Brush

Fill configuration that can be applied to a `Painter`.

    brush = Brush(Color(245, 247, 250, 1.0))
    brush.fillRule = "evenodd"

Properties

Modifier and Type | Member | Description
--- | --- | ---
public property | antialiasing `antialiasing as Boolean` | Fill antialiasing flag.
public property | fillRule `fillRule as String` | Fill rule: `nonzero` or `evenodd`.
public property | paint `paint as Object` | Fill paint source.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | Brush `Brush(paint as Object = null):` | No summary.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | clone `clone() as Brush:` | Duplicates the fill configuration.
public override | toString `toString() as String:` | No summary.