编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « UI\Area
  • UI\Area::onKey »
  • PHP Manual
  • UI\Area
  • Draw Callback

UI\Area::onDraw

(PHP 7, UI 0.9.9)

UI\Area::onDraw — Draw Callback

说明

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

Shall be invoked when this Area requires redrawing

参数

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

相关文章
php ui draw matrixphp ui area draw callbackphp ui area key callbackphp ui area mouse callbackphp ui controls check toggle callbackphp ui draw brush gradient stop manipulationphp ui draw brush gradient stop manipulationphp ui draw matrix rotate matrixphp ui draw matrix scale matrixphp ui draw matrix skew matrixphp ui draw matrix translate matrixphp ui draw pen savephp ui draw pen stroke a pathphp ui draw pen matrix transformphp ui draw pen draw text at pointphp ui draw text font descriptor size detectionphp ui draw text font descriptor style detectionphp ui draw text font descriptor weight detectionphp ui draw text font construct a new fontphp ui window closing callback
关注编程学问公众号
编程学问网 湘ICP备20001732号