In this example we are going to create a trapezoid on PowerPoint slide using java.
Creating Trapezoid Using Java
In this example we are going to create a trapezoid on PowerPoint slide using
In this example, we are creating a slide master for the slide show. To create
slide show we use SlideShow constructor and to create master slide
we use SlideMaster constructor. Then we create an object of Slide
to create a slide .To create a trapezoid shape we have to use an object of AutoShape
class in which we pass the shape type as trapezoid. To set the
position we are using setAnchor()method. To set the color we are using setFillColor(Color.Red).