Shapes¶
Shapes are objects that can be added to a slide. There are five types of shapes that can be used, i.e. [rich text](#rich-text), [line](#line), [chart](#chart), [drawing](#drawing), and [table](#table). Read the corresponding section of this manual for detail information of each shape.
Every shapes have common properties that you can set by using fluent interface.
width
in pixelsheight
in pixelsoffsetX
in pixelsoffsetY
in pixelsrotation
in degreesfill
see [Fill](#fill)border
see [Border](#border)shadow
see [Shadow](#shadow)hyperlink
Example:
$richtext = $slide->createRichTextShape()
->setHeight(300)
->setWidth(600)
->setOffsetX(170)
->setOffsetY(180);
Line¶
To create a line, use createLineShape method of slide.