Class HSLFFreeformShape

All Implemented Interfaces:
Iterable<HSLFTextParagraph>, IAdjustableShape, AutoShape<HSLFShape,HSLFTextParagraph>, FreeformShape<HSLFShape,HSLFTextParagraph>, PlaceableShape<HSLFShape,HSLFTextParagraph>, Shape<HSLFShape,HSLFTextParagraph>, SimpleShape<HSLFShape,HSLFTextParagraph>, TextShape<HSLFShape,HSLFTextParagraph>

public final class HSLFFreeformShape extends HSLFAutoShape implements FreeformShape<HSLFShape,HSLFTextParagraph>
A "Freeform" shape.

Shapes drawn with the "Freeform" tool have cubic bezier curve segments in the smooth sections and straight-line segments in the straight sections. This object closely corresponds to java.awt.geom.GeneralPath.

  • Constructor Details

    • HSLFFreeformShape

      protected HSLFFreeformShape(EscherContainerRecord escherRecord, ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
      Create a Freeform object and initialize it from the supplied Record container.
      Parameters:
      escherRecord - EscherSpContainer container which holds information about this shape
      parent - the parent of the shape
    • HSLFFreeformShape

      public HSLFFreeformShape(ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
      Create a new Freeform. This constructor is used when a new shape is created.
      Parameters:
      parent - the parent of this Shape. For example, if this text box is a cell in a table then the parent is Table.
    • HSLFFreeformShape

      public HSLFFreeformShape()
      Create a new Freeform. This constructor is used when a new shape is created.
  • Method Details