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