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
penA Pen suitable for drawing in this Area
areaSizeThe size of the Area
clipPointThe clip point of the Area
clipSizeThe clip size of the Area