略微加速
PHP官方手册 - 互联网笔记
首页
IT
PHP手册
Elasticsearch
SVN手册
互联网
博客
登陆
注册
PHP - Manual: UI
2025-03-29
简介 »
« 图形用户界面(GUI) 扩展
PHP 手册
函数参考
图形用户界面(GUI) 扩展
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
发现了问题?
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
官方地址:
https://www.php.net/manual/en/book.ui.php
有任何技术问题请点击这里
网站运营推广招聘
IT
PHP
编程语言
开发编程
Linux
科技
Elasticsearch
HTML/CSS/XML
面试
数据库
网络
JAVA
NoSQL
C/C++
Golang
Git
算法
操作系统
正则表达式
Redis
互联网
MySql
JavaScript
运维
软件
国际
架构设计
Mac OS
TCP/IP
Excel
Windows
Vim
Socket
Oracle
VR
MongoDB
Python
运营
MemCache
商业
硬件
电子
娱乐
设计
nginx
摄影
游戏
WordPress
HTTP
团建
数码电器
Docker
广告
广告
laravel查看orm生成的sql
PHPStorm ESC 会退出命令行
laravel orm中DB::insert方法导致内存泄漏的问题解决方法
docker-compose启动nginx与php-fpm
composer install参数
php7 安装fileinfo扩展
php位值,解决 PHP 中 usort 在值相同时改变原始位置的问题
preg_split — 通过一个正则表达式分隔字符串
[PHP] inet_pton/inet_ntop IP地址转换函数
Composer的Packagist资源
[鸟哥]PHP_INT_MIN 和 -9223372036854775808
PHP json解析(json_decode)页面工具
opcache预加载
PHP 8.1
mysql面试题
Windows系统下使用PHPCS+PHPMD+GIT钩子
纯php实现DES以及TripleDES加密算法
常用的php ADODB使用方法集锦
adodb手册
php 将字符串中的连续多个空格转换为一个空格
联系我们
半月雨文化
可降解耗材网
蓝云环保
78免费小説
上海网站seo优化
工程造价
币安app官网下载
币安app官网下载
coinbase
贷款信息
seo查询
北京半月雨文化科技有限公司
.版权所有
京ICP备12026184号-3