klyn.gui.events.PaintEvent.PaintEvent
constructor

    public PaintEvent(source as Object, painter as Object, width as Int, height as Int):

Description

Creates a paint request payload.

Parameters

Parameter | Description
--- | ---
`source` | Widget being painted.
`painter` | Backend painter object.
`width` | Current paint width.
`height` | Current paint height.

Example

    event = PaintEvent(widget, painter, widget.width, widget.height)