Area
(UI 0.9.9)
簡介
An Area represents a canvas which can be used to draw, and respond to mouse and key events.
類摘要
class UI\Area extends UI\Control {
/* Constants */
/* 方法 */
public redraw()
/* 繼承的方法 */
public UI\Control::destroy()
public UI\Control::disable()
public UI\Control::enable()
public UI\Control::hide()
public UI\Control::show()
}預定義常量
UI\Area::CtrlShall be set in the modifiers passed to key and mouse events when the CTRL key is active
UI\Area::AltShall be set in the modifiers passed to key and mouse events when the ALT key is active
UI\Area::ShiftShall be set in the modifiers passed to key and mouse events when the SHIFT key is active
UI\Area::SuperUI\Area::DownShall be set in the modifiers passed to key and mouse events
UI\Area::UpShall be set in the modifiers passed to key and mouse events
目錄
- 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