2013-11-25 00:02:07 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FML\Types;
|
|
|
|
|
|
|
|
/**
|
2014-01-12 00:51:46 +01:00
|
|
|
* Interface for Elements with Formatable Text
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
|
|
|
* @author steeffeen
|
2014-04-13 18:21:40 +02:00
|
|
|
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
|
|
|
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
interface TextFormatable {
|
|
|
|
|
|
|
|
/**
|
2013-12-31 02:55:19 +01:00
|
|
|
* Set Text Size
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
2014-01-12 00:51:46 +01:00
|
|
|
* @param int $textSize Text Size
|
2014-01-21 20:30:40 +01:00
|
|
|
* @return \FML\Types\TextFormatable
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
public function setTextSize($textSize);
|
|
|
|
|
|
|
|
/**
|
2013-12-31 02:55:19 +01:00
|
|
|
* Set Text Color
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
2014-01-12 00:51:46 +01:00
|
|
|
* @param string $textColor Text Color
|
2014-01-21 20:30:40 +01:00
|
|
|
* @return \FML\Types\TextFormatable
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
public function setTextColor($textColor);
|
|
|
|
|
|
|
|
/**
|
2013-12-31 02:55:19 +01:00
|
|
|
* Set Area Color
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
2014-01-12 00:51:46 +01:00
|
|
|
* @param string $areaColor Area Color
|
2014-01-21 20:30:40 +01:00
|
|
|
* @return \FML\Types\TextFormatable
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
public function setAreaColor($areaColor);
|
|
|
|
|
|
|
|
/**
|
2013-12-31 02:55:19 +01:00
|
|
|
* Set Area Focus Color
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
2014-01-12 00:51:46 +01:00
|
|
|
* @param string $areaFocusColor Area Focus Color
|
2014-01-21 20:30:40 +01:00
|
|
|
* @return \FML\Types\TextFormatable
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
public function setAreaFocusColor($areaFocusColor);
|
|
|
|
}
|