php8.5
Home/ Manual/ ui / area/ UI\Area::onDraw

UI\Area::onDraw

PHP function Edit on GitHub ✎

(UI 0.9.9)

Draw Callback

Description

UI\Area::onDraw(UI\Draw\Pen $pen, UI\Size $areaSize, UI\Point $clipPoint, UI\Size $clipSize)

Shall be invoked when this Area requires redrawing

Parameters

pen

A Pen suitable for drawing in this Area

areaSize

The size of the Area

clipPoint

The clip point of the Area

clipSize

The clip size of the Area

Source: reference/ui/ui/area/ondraw.xml · from the official PHP manual (php/doc-en)