Home » Apache POI Styling Shapes

Apache POI Styling Shapes

by Online Tutorials Library

Apache POI Styling Shapes

By default shapes are little plain. It’s possible to apply different styles to the shapes however. The sorts of things that can currently be done are:

  • Change the fill color.
  • Make a shape with no fill color.
  • Change the thickness of the lines.
  • Change the style of the lines. Eg: dashed, dotted.
  • Change the line color.

Lets see an example in which shapes outer line are dotted.

Apache POI Styling Shapes Example

Output:

Apache POI Styling Shapes

Next TopicApache POI Comment

You may also like