? 图形用户界面(GUI) 扩展
简介 ?
PHP8中文参考手册
图形用户界面(GUI) 扩展
UI
UI
简介
安装/配置
需求
安装
UI\Point
— Represents a position (x,y)
UI\Point::at
— Size Coercion
UI\Point::__construct
— Construct a new Point
UI\Point::getX
— Retrieves X
UI\Point::getY
— Retrieves Y
UI\Point::setX
— Set X
UI\Point::setY
— Set Y
UI\Size
— Represents dimensions (width, height)
UI\Size::__construct
— Construct a new Size
UI\Size::getHeight
— Retrieves Height
UI\Size::getWidth
— Retrives Width
UI\Size::of
— Point Coercion
UI\Size::setHeight
— Set Height
UI\Size::setWidth
— Set Width
UI\Window
— Window
UI\Window::add
— Add a Control
UI\Window::__construct
— Construct a new Window
UI\Window::error
— Show Error Box
UI\Window::getSize
— Get Window Size
UI\Window::getTitle
— Get Title
UI\Window::hasBorders
— Border Detection
UI\Window::hasMargin
— Margin Detection
UI\Window::isFullScreen
— Full Screen Detection
UI\Window::msg
— Show Message Box
UI\Window::onClosing
— Closing Callback
UI\Window::open
— Open Dialog
UI\Window::save
— Save Dialog
UI\Window::setBorders
— Border Use
UI\Window::setFullScreen
— Full Screen Use
UI\Window::setMargin
— Margin Use
UI\Window::setSize
— Set Size
UI\Window::setTitle
— Window Title
UI\Control
— Control
UI\Control::destroy
— Destroy Control
UI\Control::disable
— Disable Control
UI\Control::enable
— Enable Control
UI\Control::getParent
— Get Parent Control
UI\Control::getTopLevel
— Get Top Level
UI\Control::hide
— Hide Control
UI\Control::isEnabled
— Determine if Control is enabled
UI\Control::isVisible
— Determine if Control is visible
UI\Control::setParent
— Set Parent Control
UI\Control::show
— Control Show
UI\Menu
— Menu
UI\Menu::append
— Append Menu Item
UI\Menu::appendAbout
— Append About Menu Item
UI\Menu::appendCheck
— Append Checkable Menu Item
UI\Menu::appendPreferences
— Append Preferences Menu Item
UI\Menu::appendQuit
— Append Quit Menu Item
UI\Menu::appendSeparator
— Append Menu Item Separator
UI\Menu::__construct
— Construct a new Menu
UI\MenuItem
— Menu Item
UI\MenuItem::disable
— Disable Menu Item
UI\MenuItem::enable
— Enable Menu Item
UI\MenuItem::isChecked
— Detect Checked
UI\MenuItem::onClick
— On Click Callback
UI\MenuItem::setChecked
— Set Checked
UI\Area
— Area
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
UI\Executor
— Execution Scheduler
UI\Executor::__construct
— Construct a new Executor
UI\Executor::kill
— Stop Executor
UI\Executor::onExecute
— Execution Callback
UI\Executor::setInterval
— Interval Manipulation
UI\Controls\Tab
— Tab Control
UI\Controls\Tab::append
— Append Page
UI\Controls\Tab::delete
— Delete Page
UI\Controls\Tab::hasMargin
— Margin Detection
UI\Controls\Tab::insertAt
— Insert Page
UI\Controls\Tab::pages
— Page Count
UI\Controls\Tab::setMargin
— Set Margin
UI\Controls\Check
— Check Control
UI\Controls\Check::__construct
— Construct a new Check
UI\Controls\Check::getText
— Get Text
UI\Controls\Check::isChecked
— Checked Detection
UI\Controls\Check::onToggle
— Toggle Callback
UI\Controls\Check::setChecked
— Set Checked
UI\Controls\Check::setText
— Set Text
UI\Controls\Button
— Button Control
UI\Controls\Button::__construct
— Construct a new Button
UI\Controls\Button::getText
— Get Text
UI\Controls\Button::onClick
— Click Handler
UI\Controls\Button::setText
— Set Text
UI\Controls\ColorButton
— ColorButton Control
UI\Controls\ColorButton::getColor
— Get Color
UI\Controls\ColorButton::onChange
— Change Handler
UI\Controls\ColorButton::setColor
— Set Color
UI\Controls\Label
— Label Control
UI\Controls\Label::__construct
— Construct a new Label
UI\Controls\Label::getText
— Get Text
UI\Controls\Label::setText
— Set Text
UI\Controls\Entry
— Entry Control
UI\Controls\Entry::__construct
— Construct a new Entry
UI\Controls\Entry::getText
— Get Text
UI\Controls\Entry::isReadOnly
— Detect Read Only
UI\Controls\Entry::onChange
— Change Handler
UI\Controls\Entry::setReadOnly
— Set Read Only
UI\Controls\Entry::setText
— Set Text
UI\Controls\MultilineEntry
— MultilineEntry Control
UI\Controls\MultilineEntry::append
— Append Text
UI\Controls\MultilineEntry::__construct
— Construct a new Multiline Entry
UI\Controls\MultilineEntry::getText
— Get Text
UI\Controls\MultilineEntry::isReadOnly
— Read Only Detection
UI\Controls\MultilineEntry::onChange
— Change Handler
UI\Controls\MultilineEntry::setReadOnly
— Set Read Only
UI\Controls\MultilineEntry::setText
— Set Text
UI\Controls\Spin
— Spin Control
UI\Controls\Spin::__construct
— Construct a new Spin
UI\Controls\Spin::getValue
— Get Value
UI\Controls\Spin::onChange
— Change Handler
UI\Controls\Spin::setValue
— Set Value
UI\Controls\Slider
— Slider Control
UI\Controls\Slider::__construct
— Construct a new Slider
UI\Controls\Slider::getValue
— Get Value
UI\Controls\Slider::onChange
— Change Handler
UI\Controls\Slider::setValue
— Set Value
UI\Controls\Progress
— Progress Control
UI\Controls\Progress::getValue
— Get Value
UI\Controls\Progress::setValue
— Set Value
UI\Controls\Separator
— Control Separator
UI\Controls\Separator::__construct
— Construct a new Separator
UI\Controls\Combo
— Combo Control
UI\Controls\Combo::append
— Append Option
UI\Controls\Combo::getSelected
— Get Selected Option
UI\Controls\Combo::onSelected
— Selected Handler
UI\Controls\Combo::setSelected
— Set Selected Option
UI\Controls\EditableCombo
— EdiableCombo Control
UI\Controls\EditableCombo::append
— Append Option
UI\Controls\EditableCombo::getText
— Get Text
UI\Controls\EditableCombo::onChange
— Change Handler
UI\Controls\EditableCombo::setText
— Set Text
UI\Controls\Radio
— Radio Control
UI\Controls\Radio::append
— Append Option
UI\Controls\Radio::getSelected
— Get Selected Option
UI\Controls\Radio::onSelected
— Selected Handler
UI\Controls\Radio::setSelected
— Set Selected Option
UI\Controls\Picker
— Picker Control
UI\Controls\Picker::__construct
— Construct a new Picker
UI\Controls\Form
— Control Form (Arrangement)
UI\Controls\Form::append
— Append Control
UI\Controls\Form::delete
— Delete Control
UI\Controls\Form::isPadded
— Padding Detection
UI\Controls\Form::setPadded
— Set Padding
UI\Controls\Grid
— Control Grid (Arrangement)
UI\Controls\Grid::append
— Append Control
UI\Controls\Grid::isPadded
— Padding Detection
UI\Controls\Grid::setPadded
— Set Padding
UI\Controls\Group
— Control Group (Arrangement)
UI\Controls\Group::append
— Append Control
UI\Controls\Group::__construct
— Construct a new Group
UI\Controls\Group::getTitle
— Get Title
UI\Controls\Group::hasMargin
— Margin Detection
UI\Controls\Group::setMargin
— Set Margin
UI\Controls\Group::setTitle
— Set Title
UI\Controls\Box
— Control Box (Arrangement)
UI\Controls\Box::append
— Append Control
UI\Controls\Box::__construct
— Construct a new Box
UI\Controls\Box::delete
— Delete Control
UI\Controls\Box::getOrientation
— Get Orientation
UI\Controls\Box::isPadded
— Padding Detection
UI\Controls\Box::setPadded
— Set Padding
UI\Draw\Pen
— Draw Pen
UI\Draw\Pen::clip
— Clip a Path
UI\Draw\Pen::fill
— Fill a Path
UI\Draw\Pen::restore
— Restore
UI\Draw\Pen::save
— Save
UI\Draw\Pen::stroke
— Stroke a Path
UI\Draw\Pen::transform
— Matrix Transform
UI\Draw\Pen::write
— Draw Text at Point
UI\Draw\Path
— Draw Path
UI\Draw\Path::addRectangle
— Draw a Rectangle
UI\Draw\Path::arcTo
— Draw an Arc
UI\Draw\Path::bezierTo
— Draw Bezier Curve
UI\Draw\Path::closeFigure
— Close Figure
UI\Draw\Path::__construct
— Construct a new Path
UI\Draw\Path::end
— Finalize Path
UI\Draw\Path::lineTo
— Draw a Line
UI\Draw\Path::newFigure
— Draw Figure
UI\Draw\Path::newFigureWithArc
— Draw Figure with Arc
UI\Draw\Matrix
— Draw Matrix
UI\Draw\Matrix::invert
— Invert Matrix
UI\Draw\Matrix::isInvertible
— Invertible Detection
UI\Draw\Matrix::multiply
— Multiply Matrix
UI\Draw\Matrix::rotate
— Rotate Matrix
UI\Draw\Matrix::scale
— Scale Matrix
UI\Draw\Matrix::skew
— Skew Matrix
UI\Draw\Matrix::translate
— Translate Matrix
UI\Draw\Color
— Color Representation
UI\Draw\Color::__construct
— Construct new Color
UI\Draw\Color::getChannel
— Color Manipulation
UI\Draw\Color::setChannel
— Color Manipulation
UI\Draw\Stroke
— Draw Stroke
UI\Draw\Stroke::__construct
— Construct a new Stroke
UI\Draw\Stroke::getCap
— Get Line Cap
UI\Draw\Stroke::getJoin
— Get Line Join
UI\Draw\Stroke::getMiterLimit
— Get Miter Limit
UI\Draw\Stroke::getThickness
— Get Thickness
UI\Draw\Stroke::setCap
— Set Line Cap
UI\Draw\Stroke::setJoin
— Set Line Join
UI\Draw\Stroke::setMiterLimit
— Set Miter Limit
UI\Draw\Stroke::setThickness
— Set Thickness
UI\Draw\Brush
— Brushes
UI\Draw\Brush::__construct
— Construct a new Brush
UI\Draw\Brush::getColor
— Get Color
UI\Draw\Brush::setColor
— Set Color
UI\Draw\Brush\Gradient
— Gradient Brushes
UI\Draw\Brush\Gradient::addStop
— Stop Manipulation
UI\Draw\Brush\Gradient::delStop
— Stop Manipulation
UI\Draw\Brush\Gradient::setStop
— Stop Manipulation
UI\Draw\Brush\LinearGradient
— Linear Gradient
UI\Draw\Brush\LinearGradient::__construct
— Construct a Linear Gradient
UI\Draw\Brush\RadialGradient
— Radial Gradient
UI\Draw\Brush\RadialGradient::__construct
— Construct a new Radial Gradient
UI\Draw\Text\Layout
— Represents Text Layout
UI\Draw\Text\Layout::__construct
— Construct a new Text Layout
UI\Draw\Text\Layout::setColor
— Set Color
UI\Draw\Text\Layout::setWidth
— Set Width
UI\Draw\Text\Font
— Represents a Font
UI\Draw\Text\Font::__construct
— Construct a new Font
UI\Draw\Text\Font::getAscent
— Font Metrics
UI\Draw\Text\Font::getDescent
— Font Metrics
UI\Draw\Text\Font::getLeading
— Font Metrics
UI\Draw\Text\Font::getUnderlinePosition
— Font Metrics
UI\Draw\Text\Font::getUnderlineThickness
— Font Metrics
UI\Draw\Text\Font\Descriptor
— Font Descriptor
UI\Draw\Text\Font\Descriptor::__construct
— Construct a new Font Descriptor
UI\Draw\Text\Font\Descriptor::getFamily
— Get Font Family
UI\Draw\Text\Font\Descriptor::getItalic
— Style Detection
UI\Draw\Text\Font\Descriptor::getSize
— Size Detection
UI\Draw\Text\Font\Descriptor::getStretch
— Style Detection
UI\Draw\Text\Font\Descriptor::getWeight
— Weight Detection
UI 函数
UI\Draw\Text\Font\fontFamilies
— Retrieve Font Families
UI\quit
— Quit UI Loop
UI\run
— Enter UI Loop
UI\Draw\Text\Font\Weight
— Font Weight Settings
UI\Draw\Text\Font\Italic
— Italic Font Settings
UI\Draw\Text\Font\Stretch
— Font Stretch Settings
UI\Draw\Line\Cap
— Line Cap Settings
UI\Draw\Line\Join
— Line Join Settings
UI\Key
— Key Identifiers
UI\Exception\InvalidArgumentException
— InvalidArgumentException
UI\Exception\RuntimeException
— RuntimeException
User Contributed Notes
There are no user contributed notes for this page.
PHP8中文手册
由
站长在线
整理 版权归PHP文档组所有