编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « UI\Draw\Text\Layout
  • UI\Draw\Text\Layout::setColor »
  • PHP Manual
  • UI\Draw\Text\Layout
  • Construct a new Text Layout

UI\Draw\Text\Layout::__construct

(PHP 7, UI 0.9.9)

UI\Draw\Text\Layout::__construct — Construct a new Text Layout

说明

public UI\Draw\Text\Layout::__construct ( string $text , UI\Draw\Text\Font $font , float $width )

Shall construct a new Text Layout

参数

text

The text for the layout

font

The font to use for writing

width

The width of the layout

相关文章
php ui represents text layoutphp ui controls button construct a new buttonphp ui controls group construct a new groupphp ui controls picker construct a new pickerphp ui controls spin construct a new spinphp ui draw brush radialgradient construct a new radial gradientphp ui draw brush construct a new brushphp ui draw color construct new colorphp ui draw path construct a new pathphp ui draw stroke construct a new strokephp ui draw text font descriptor construct a new font descriptorphp ui draw text font construct a new fontphp ui draw text font font metricsphp ui draw text font font metricsphp ui draw text layout construct a new text layoutphp ui draw text layout set colorphp ui draw text layout set widthphp ui executor construct a new executorphp ui point construct a new pointphp ui window construct a new window
关注编程学问公众号
编程学问网 湘ICP备20001732号