编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 draw pathphp ui area draw callbackphp ui area key callbackphp ui area mouse callbackphp ui draw brush gradient stop manipulationphp ui draw brush gradient stop manipulationphp ui draw brush gradient stop manipulationphp ui draw brush lineargradient construct a linear gradientphp ui draw matrix skew matrixphp ui draw matrix translate matrixphp ui draw path draw a rectanglephp ui draw path draw an arcphp ui draw pen matrix transformphp ui draw pen draw text at pointphp ui draw stroke construct a new strokephp ui draw stroke get line capphp ui draw text font descriptor weight detectionphp ui draw text font construct a new fontphp ui draw text font font metrics
关注编程学问公众号
编程学问网 湘ICP备20001732号