Area
(PHP 7, UI 0.9.9)
简介
An Area represents a canvas which can be used to draw, and respond to mouse and key events.
类摘要
预定义常量
-
UI\Area::Ctrl
-
Shall be set in the modifiers passed to key and mouse events when the CTRL key is active
-
UI\Area::Alt
-
Shall be set in the modifiers passed to key and mouse events when the ALT key is active
-
UI\Area::Shift
-
Shall be set in the modifiers passed to key and mouse events when the SHIFT key is active
-
UI\Area::Super
-
UI\Area::Down
-
Shall be set in the modifiers passed to key and mouse events
-
UI\Area::Up
-
Shall be set in the modifiers passed to key and mouse events
Table of Contents
- UI\Area::onDraw — Draw Callback
- UI\Area::onKey — Key Callback
- UI\Area::onMouse — Mouse Callback
- UI\Area::redraw — Redraw Area
- UI\Area::scrollTo — Area Scroll
- UI\Area::setSize — Set Size