// Create a new rich text shape
$shape = $currentSlide->createRichTextShape();
// Set the topInset (adjust the value as needed)
$shape->setTopInset(20); // 20 pixels from the top
Uncaught Error: Call to undefined method PhpOffice\PhpPresentation\Shape\RichText::setTopInset()
https://phpoffice.github.io/PHPPresentation/usage/shapes/richtext.html
How do you set the properties?
Uncaught Error: Call to undefined method PhpOffice\PhpPresentation\Shape\RichText::setTopInset()