iText 8.0.2 API
iText.Kernel.Geom.IShape Interface Reference

Represents segment from a PDF path. More...

Inheritance diagram for iText.Kernel.Geom.IShape:
iText.Kernel.Geom.BezierCurve iText.Kernel.Geom.Line

Public Member Functions

IList< Point GetBasePoints ()
  Treat base points as the points which are enough to construct a shape. More...
 

Detailed Description

Represents segment from a PDF path.

Member Function Documentation

◆ GetBasePoints()

IList<Point> iText.Kernel.Geom.IShape.GetBasePoints ( )

Treat base points as the points which are enough to construct a shape.

Treat base points as the points which are enough to construct a shape. E.g. for a bezier curve they are control points, for a line segment - the start and the end points of the segment.

Returns
Ordered System.Collections.IList consisting of shape's base points.

Implemented in iText.Kernel.Geom.BezierCurve, and iText.Kernel.Geom.Line.