Skip to content


Shapes are objects that can be added to a slide. There are five types of shapes that can be used, i.e. rich text, line, chart, drawing, and 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 pixels
  • height in pixels
  • offsetX in pixels
  • offsetY in pixels
  • rotation in degrees
  • fill see Fill
  • border see Border
  • shadow see Shadow
  • hyperlink


$richtext = $slide->createRichTextShape()


To create a line, use createLineShape method of slide.