When I pass a Zend_Pdf_Style object to the setStyle function, does it
maintain a reference to the original object?  Meaning...to change properties
of the style object, do I need to call setStyle again, or just call the set
function on the local style object itself.

For example, I have

$style = new Zend_Pdf_Style();
$style->setFillColor( new Zend_Pdf_Color_Rgb( 1, 1, 1 ) );
$pdf_page->setStyle( $style );

if I call this within the same function : 

$style->setFillColor( new Zend_Pdf_Color_Rgb( .5, .5, .5 ) );

do I need to call setStyle again, or will this change take effect on the
style object inside my pdf_page object?

I hope this was clear.

Thanks,
Rich
-- 
View this message in context: 
http://www.nabble.com/Zend_Pdf_Page-%3EsetStyle-question-tf3683990s16154.html#a10297053
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to