编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « UI\Draw\Brush\RadialGradient::__construct
  • UI\Draw\Text\Layout::__construct »
  • PHP Manual
  • UI
  • Represents Text Layout

Represents Text Layout

(PHP 7, UI 0.9.9)

简介

A Text Layout represents the layout of text which will be drawn by the Pen

类摘要

UI\Draw\Text\Layout {
/* Constructor */
public __construct ( string $text , UI\Draw\Text\Font $font , float $width )
/* 方法 */
public setColor ( UI\Draw\Color $color [, int $start = 0 [, int $end ]] )
public setColor ( int $color [, int $start = 0 [, int $end ]] )
public setWidth ( float $width )
}

Table of Contents

  • UI\Draw\Text\Layout::__construct — Construct a new Text Layout
  • UI\Draw\Text\Layout::setColor — Set Color
  • UI\Draw\Text\Layout::setWidth — Set Width
相关文章
php ui represents text layoutphp ui represents a position x y php ui represents dimenstions width height php tidynode checks if a node represents text no markup php ui controls check set textphp ui controls entry set textphp ui controls label get textphp ui controls label set textphp ui controls multilineentry append textphp ui controls multilineentry get textphp ui draw pen draw text at pointphp ui draw text font construct a new fontphp ui draw text font font metricsphp ui draw text font font metricsphp ui draw text font font metricsphp 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 width
关注编程学问公众号
编程学问网 湘ICP备20001732号