Class Zend_Pdf_Style

Description

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.

  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Pdf/Style.php (line 45)


	
			
Method Summary
 Zend_Pdf_Style __construct ([Zend_Pdf_Style $anotherStyle = null])
 float getFontSize ()
 float getLineWidth ()
 string instructions ()
 void setFillColor (Zend_Pdf_Color $color)
 void setFont (Zend_Pdf_Resource_Font $font, float $fontSize)
 void setFontSize (float $fontSize)
 void setLineColor (Zend_Pdf_Color $color)
 void setLineDashingPattern (array $pattern, [float $phase = 0])
 void setLineWidth (float $width)
Methods
Constructor __construct (line 108)

Create style.

  • access: public
Zend_Pdf_Style __construct ([Zend_Pdf_Style $anotherStyle = null])
getFillColor (line 198)

Get fill color.

  • access: public
Zend_Pdf_Color|null getFillColor ()
getFont (line 239)

Get current font.

  • access: public
getFontSize (line 249)

Get current font size

  • access: public
float getFontSize ()
getLineColor (line 208)

Get line color.

  • access: public
Zend_Pdf_Color|null getLineColor ()
getLineDashingPattern (line 228)

Get line dashing pattern

  • access: public
array getLineDashingPattern ()
getLineDashingPhase (line 259)

Get line dashing phase

  • access: public
float getLineDashingPhase ()
getLineWidth (line 218)

Get line width.

  • access: public
float getLineWidth ()
instructions (line 270)

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

  • access: public
string instructions ()
setFillColor (line 127)

Set fill color.

  • access: public
void setFillColor (Zend_Pdf_Color $color)
setFont (line 177)

Set current font.

  • access: public
void setFont (Zend_Pdf_Resource_Font $font, float $fontSize)
setFontSize (line 188)

Modify current font size

  • access: public
void setFontSize (float $fontSize)
  • float $fontSize
setLineColor (line 137)

Set line color.

  • access: public
void setLineColor (Zend_Pdf_Color $color)
setLineDashingPattern (line 159)

Set line dashing pattern

  • access: public
void setLineDashingPattern (array $pattern, [float $phase = 0])
  • array $pattern
  • float $phase
setLineWidth (line 147)

Set line width.

  • access: public
void setLineWidth (float $width)
  • float $width

Documentation generated on Sun, 27 May 2007 23:28:00 -0700 by phpDocumentor 1.3.2