Add background color support for textboxes
This commit is contained in:
parent
b453cf00ff
commit
1dc3dc6ce5
@ -65,6 +65,33 @@ class TextBox extends Image
|
|||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
private $borderColor;
|
private $borderColor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* background color
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $bgColor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set background color
|
||||||
|
*
|
||||||
|
* @param string $value
|
||||||
|
*/
|
||||||
|
public function setBgColor($value = null)
|
||||||
|
{
|
||||||
|
$this->bgColor = $value;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get background color
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getBgColor()
|
||||||
|
{
|
||||||
|
return $this->bgColor;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set margin top.
|
* Set margin top.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user