54 lines
992 B
PHP
54 lines
992 B
PHP
<?php
|
|
|
|
namespace FML\Types;
|
|
|
|
/**
|
|
* Interface for Elements with formatable text
|
|
*
|
|
* @author steeffeen <mail@steeffeen.com>
|
|
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
|
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
|
*/
|
|
interface TextFormatable {
|
|
|
|
/**
|
|
* Set text size
|
|
*
|
|
* @param int $textSize Text size
|
|
* @return static
|
|
*/
|
|
public function setTextSize($textSize);
|
|
|
|
/**
|
|
* Set text font
|
|
*
|
|
* @param string $textFont
|
|
* @return static
|
|
*/
|
|
public function setTextFont($textFont);
|
|
|
|
/**
|
|
* Set text color
|
|
*
|
|
* @param string $textColor Text color
|
|
* @return static
|
|
*/
|
|
public function setTextColor($textColor);
|
|
|
|
/**
|
|
* Set area color
|
|
*
|
|
* @param string $areaColor Area color
|
|
* @return static
|
|
*/
|
|
public function setAreaColor($areaColor);
|
|
|
|
/**
|
|
* Set area focus color
|
|
*
|
|
* @param string $areaFocusColor Area focus color
|
|
* @return static
|
|
*/
|
|
public function setAreaFocusColor($areaFocusColor);
|
|
}
|