41 private $_fillColor =
null;
66 private $_lineDashingPattern;
73 private $_lineDashingPhase;
98 if ($anotherStyle !==
null) {
99 $this->_fillColor = $anotherStyle->_fillColor;
100 $this->_color = $anotherStyle->_color;
101 $this->_lineWidth = $anotherStyle->_lineWidth;
102 $this->_lineDashingPattern = $anotherStyle->_lineDashingPattern;
103 $this->_lineDashingPhase = $anotherStyle->_lineDashingPhase;
104 $this->_font = $anotherStyle->_font;
105 $this->_fontSize = $anotherStyle->_fontSize;
117 $this->_fillColor = $color;
127 $this->_color = $color;
137 #require_once 'Zend/Pdf/Element/Numeric.php'; 150 #require_once 'Zend/Pdf/Page.php'; 156 #require_once 'Zend/Pdf/Element/Numeric.php'; 157 $this->_lineDashingPattern =
$pattern;
170 $this->_font = $font;
171 $this->_fontSize = $fontSize;
181 $this->_fontSize = $fontSize;
191 return $this->_fillColor;
201 return $this->_color;
211 return $this->_lineWidth->value;
221 return $this->_lineDashingPattern;
242 return $this->_fontSize;
252 return $this->_lineDashingPhase->value;
265 if ($this->_fillColor !==
null) {
269 if ($this->_color !==
null) {
273 if ($this->_lineWidth !==
null) {
277 if ($this->_lineDashingPattern !==
null) {
278 #require_once 'Zend/Pdf/Element/Array.php'; 281 #require_once 'Zend/Pdf/Element/Numeric.php'; 282 foreach ($this->_lineDashingPattern as $dashItem) {
284 $dashPattern->items[] = $dashElement;
288 . $this->_lineDashingPhase->toString() .
" d\n";
setFont(Zend_Pdf_Resource_Font $font, $fontSize)
setLineDashingPattern($pattern, $phase=0)
setFillColor(Zend_Pdf_Color $color)
setLineColor(Zend_Pdf_Color $color)
__construct($anotherStyle=null)