Style object.
Style object doesn't directly correspond to any PDF file object. It's utility class, used as a container for style information. It's used by Zend_Pdf_Page class in draw operations.
package | Zend_Pdf |
---|---|
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(\Zend_Pdf_Style $anotherStyle = null
)
\Zend_Pdf_Style
getFillColor() : \Zend_Pdf_Color | null
\Zend_Pdf_Color
null
getFont() : \Zend_Pdf_Resource_Font
\Zend_Pdf_Resource_Font
$fontgetFontSize() : float
float
$fontSizegetLineColor() : \Zend_Pdf_Color | null
\Zend_Pdf_Color
null
getLineDashingPattern() : array
array
getLineDashingPhase() : float
float
getLineWidth() : float
float
instructions() : string
string
setFillColor(\Zend_Pdf_Color $color)
\Zend_Pdf_Color
setFont(\Zend_Pdf_Resource_Font $font, float $fontSize)
\Zend_Pdf_Resource_Font
float
setFontSize(float $fontSize)
float
setLineColor(\Zend_Pdf_Color $color)
\Zend_Pdf_Color
setLineDashingPattern(array $pattern, float $phase = 0
)
array
float
setLineWidth(float $width)
float
$_color : \Zend_Pdf_Color | null
Current color, used for lines and font outlines.
$_fillColor : \Zend_Pdf_Color | null
null
Used to fill geometric shapes or text.
$_font : \Zend_Pdf_Resource_Font
$_fontSize : float
$_lineDashingPattern : array
It's array of numeric: array($on_length, $off_length, $on_length, $off_length, ...)
$_lineDashingPhase : float
$_lineWidth : \Zend_Pdf_Element_Numeric