TrackManiaControl/libs/FML/Types/TextFormatable.php

101 lines
1.7 KiB
PHP
Raw Normal View History

<?php
namespace FML\Types;
/**
2014-06-21 03:18:21 +02:00
* Interface for Elements with formatable text
*
2014-05-20 15:44:45 +02:00
* @author steeffeen <mail@steeffeen.com>
2017-03-25 18:40:15 +01:00
* @copyright FancyManiaLinks Copyright © 2017 Steffen Schröder
2014-05-18 19:45:50 +02:00
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
2017-03-25 18:40:15 +01:00
interface TextFormatable
{
/**
* Get the text size
*
* @api
* @return int
*/
public function getTextSize();
/**
* Set the text size
*
* @api
* @param int $textSize Text size
* @return static
*/
public function setTextSize($textSize);
/**
* Get the text font
*
* @api
* @return string
*/
public function getTextFont();
/**
* Set the text font
*
* @api
* @param string $textFont
* @return static
*/
public function setTextFont($textFont);
/**
* Get the text color
*
* @api
* @return string
*/
public function getTextColor();
/**
* Set the text color
*
* @api
* @param string $textColor Text color
* @return static
*/
public function setTextColor($textColor);
/**
* Get the area color
*
* @api
* @return string
*/
public function getAreaColor();
/**
* Set the area color
*
* @api
* @param string $areaColor Area color
* @return static
*/
public function setAreaColor($areaColor);
/**
* Get the area focus color
*
* @api
* @return string
*/
public function getAreaFocusColor();
/**
* Set the area focus color
*
* @api
* @param string $areaFocusColor Area focus color
* @return static
*/
public function setAreaFocusColor($areaFocusColor);
}