Zend_Pdf_Style class provides styles functionality.
Styles can be used to store a set of graphic state parameters and apply it to a PDF page by one operation:
<?php
/**
* Set the style to use for future drawing operations on this page
*
* @param Zend_Pdf_Style $style
* @return Zend_Pdf_Page
*/
public function setStyle(Zend_Pdf_Style $style);
/**
* Return the style, applied to the page.
*
* @return Zend_Pdf_Style|null
*/
public function getStyle();
Zend_Pdf_Style class provides a set of methods to set or get
different graphics state parameters:
<?php
/**
* Set line color.
*
* @param Zend_Pdf_Color $color
* @return Zend_Pdf_Page
*/
public function setLineColor(Zend_Pdf_Color $color);
<?php
/**
* Get line color.
*
* @return Zend_Pdf_Color|null
*/
public function getLineColor();
<?php
/**
* Set line width.
*
* @param float $width
* @return Zend_Pdf_Page
*/
public function setLineWidth($width);
<?php
/**
* Get line width.
*
* @return float
*/
public function getLineWidth();
<?php
/**
* Set line dashing pattern
*
* @param array $pattern
* @param float $phase
* @return Zend_Pdf_Page
*/
public function setLineDashingPattern($pattern, $phase = 0);
<?php
/**
* Get line dashing pattern
*
* @return array
*/
public function getLineDashingPattern();
<?php
/**
* Get line dashing phase
*
* @return float
*/
public function getLineDashingPhase();
<?php
/**
* Set fill color.
*
* @param Zend_Pdf_Color $color
* @return Zend_Pdf_Page
*/
public function setFillColor(Zend_Pdf_Color $color);
<?php
/**
* Get fill color.
*
* @return Zend_Pdf_Color|null
*/
public function getFillColor();
<?php
/**
* Set current font.
*
* @param Zend_Pdf_Resource_Font $font
* @param float $fontSize
* @return Zend_Pdf_Page
*/
public function setFont(Zend_Pdf_Resource_Font $font, $fontSize);
<?php
/**
* Modify current font size
*
* @param float $fontSize
* @return Zend_Pdf_Page
*/
public function setFontSize($fontSize);
<?php
/**
* Get current font.
*
* @return Zend_Pdf_Resource_Font $font
*/
public function getFont();
<?php
/**
* Get current font size
*
* @return float $fontSize
*/
public function getFontSize();




