Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace OpenSpout\Common\Entity\Comment;
6
 
7
/**
8
 * This class defines rich text in a fluent interface that can be added to a comment.
9
 */
10
final class TextRun
11
{
12
    public string $text;
13
    public int $fontSize = 10;
14
    public string $fontColor = '000000';
15
    public string $fontName = 'Tahoma';
16
    public bool $bold = false;
17
    public bool $italic = false;
18
 
19
    public function __construct(string $text)
20
    {
21
        $this->text = $text;
22
    }
23
}