编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 controls box construct a new boxphp ui controls label construct a new labelphp ui controls separator construct a new separatorphp ui controls slider construct a new sliderphp 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 pen draw text at pointphp ui draw stroke construct a new strokephp ui draw text font descriptor construct a new font descriptorphp ui draw text font descriptor size detectionphp ui draw text font descriptor style detectionphp ui draw text font descriptor weight detectionphp ui draw text font construct a new fontphp 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 size construct a new size
关注编程学问公众号
编程学问网 湘ICP备20001732号