TrackManiaControl/application/core/Libs/FML/Types/TextFormatable.php
2014-05-20 15:44:45 +02:00

46 lines
947 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 \FML\Types\TextFormatable
*/
public function setTextSize($textSize);
/**
* Set Text Color
*
* @param string $textColor Text Color
* @return \FML\Types\TextFormatable
*/
public function setTextColor($textColor);
/**
* Set Area Color
*
* @param string $areaColor Area Color
* @return \FML\Types\TextFormatable
*/
public function setAreaColor($areaColor);
/**
* Set Area Focus Color
*
* @param string $areaFocusColor Area Focus Color
* @return \FML\Types\TextFormatable
*/
public function setAreaFocusColor($areaFocusColor);
}