Zend Framework  1.12
Public Member Functions | List of all members
Zend_Pdf_Style Class Reference

Public Member Functions

 __construct ($anotherStyle=null)
 Create style.
 
 setFillColor (Zend_Pdf_Color $color)
 Set fill color.
 
 setLineColor (Zend_Pdf_Color $color)
 Set line color.
 
 setLineWidth ($width)
 Set line width.
 
 setLineDashingPattern ($pattern, $phase=0)
 Set line dashing pattern.
 
 setFont (Zend_Pdf_Resource_Font $font, $fontSize)
 Set current font.
 
 setFontSize ($fontSize)
 Modify current font size.
 
 getFillColor ()
 Get fill color.
 
 getLineColor ()
 Get line color.
 
 getLineWidth ()
 Get line width.
 
 getLineDashingPattern ()
 Get line dashing pattern.
 
 getFont ()
 Get current font.
 
 getFontSize ()
 Get current font size.
 
 getLineDashingPhase ()
 Get line dashing phase.
 
 instructions ()
 Dump style to a string, which can be directly inserted into content stream.
 

Constructor & Destructor Documentation

__construct (   $anotherStyle = null)

Create style.

Parameters
Zend_Pdf_Style$anotherStyle

Member Function Documentation

getFillColor ( )

Get fill color.

Returns
Zend_Pdf_Color|null
getFont ( )

Get current font.

Returns
Zend_Pdf_Resource_Font $font
getFontSize ( )

Get current font size.

Returns
float $fontSize
getLineColor ( )

Get line color.

Returns
Zend_Pdf_Color|null
getLineDashingPattern ( )

Get line dashing pattern.

Returns
array
getLineDashingPhase ( )

Get line dashing phase.

Returns
float
getLineWidth ( )

Get line width.

Returns
float
instructions ( )

Dump style to a string, which can be directly inserted into content stream.

Returns
string
setFillColor ( Zend_Pdf_Color  $color)

Set fill color.

Parameters
Zend_Pdf_Color$color
setFont ( Zend_Pdf_Resource_Font  $font,
  $fontSize 
)

Set current font.

Parameters
Zend_Pdf_Resource_Font$font
float$fontSize
setFontSize (   $fontSize)

Modify current font size.

Parameters
float$fontSize
setLineColor ( Zend_Pdf_Color  $color)

Set line color.

Parameters
Zend_Pdf_Color$color
setLineDashingPattern (   $pattern,
  $phase = 0 
)

Set line dashing pattern.

Parameters
array$pattern
float$phase
setLineWidth (   $width)

Set line width.

Parameters
float$width