2013-11-25 00:02:07 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FML\Types;
|
|
|
|
|
|
|
|
/**
|
2013-12-09 13:05:05 +01:00
|
|
|
* Interface for elements with Formatable text
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
|
|
|
* @author steeffeen
|
|
|
|
*/
|
|
|
|
interface TextFormatable {
|
|
|
|
|
|
|
|
/**
|
2013-12-31 02:55:19 +01:00
|
|
|
* Set Text Size
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
2013-12-31 02:55:19 +01:00
|
|
|
* @param int $textSize
|
|
|
|
* Text Size
|
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
|
|
|
*
|
2013-12-31 02:55:19 +01:00
|
|
|
* @param string $textColor
|
|
|
|
* Text Color
|
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
|
|
|
*
|
2013-12-31 02:55:19 +01:00
|
|
|
* @param string $areaColor
|
|
|
|
* Area Text Color
|
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
|
|
|
*
|
2013-12-31 02:55:19 +01:00
|
|
|
* @param string $areaFocusColor
|
|
|
|
* Focus Area Color
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
public function setAreaFocusColor($areaFocusColor);
|
|
|
|
}
|