Skip to content

Shadow does not work on RichTextShapes anymore #81

@nynka

Description

@nynka

Setting the shadow on RichTextShapes seems to have no effect anymore.

Consider this:

$shape = $this->createRichTextShape();
$shape->setHeight(30)->setWidth(60)->setOffsetX((960-60)-20)->setOffsetY(720-30-20);
$shape->getActiveParagraph()->getAlignment()->setHorizontal( Alignment::HORIZONTAL_RIGHT );
$shape->getActiveParagraph()->getAlignment()->setVertical( Alignment::VERTICAL_BOTTOM );
// Has no effect
$shape->getShadow()->setVisible(true)->setAlpha(75)->setBlurRadius(2)->setDirection(45);

$textRun = $shape->createTextRun('PhpPowerpoint');
$textRun->getFont()->setBold(true)->setSize(12)->setColor( new Color( 'FFFFFFFF' ) );

This used to work in previous versions, please look into it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions