iText 7 7.1.8 API
|
Paths define shapes, trajectories, and regions of all sorts. More...
Public Member Functions |
|
Path (IList< Subpath > subpaths) | |
Path (iText.Kernel.Geom.Path path) | |
virtual IList< Subpath > | GetSubpaths () |
virtual void | AddSubpath (Subpath subpath) |
Adds the subpath to this path. More... |
|
virtual void | AddSubpaths< _T0 > (IList< _T0 > subpaths) |
Adds the subpaths to this path. More... |
|
virtual Point | GetCurrentPoint () |
The current point is the trailing endpoint of the segment most recently added to the current path. More... |
|
virtual void | MoveTo (float x, float y) |
Begins a new subpath by moving the current point to coordinates More... |
|
virtual void | LineTo (float x, float y) |
Appends a straight line segment from the current point to the point More... |
|
virtual void | CurveTo (float x1, float y1, float x2, float y2, float x3, float y3) |
Appends a cubic Bezier curve to the current path. More... |
|
virtual void | CurveTo (float x2, float y2, float x3, float y3) |
Appends a cubic Bezier curve to the current path. More... |
|
virtual void | CurveFromTo (float x1, float y1, float x3, float y3) |
Appends a cubic Bezier curve to the current path. More... |
|
virtual void | Rectangle (iText.Kernel.Geom.Rectangle rect) |
Appends a rectangle to the current path as a complete subpath. More... |
|
virtual void | Rectangle (float x, float y, float w, float h) |
Appends a rectangle to the current path as a complete subpath. More... |
|
virtual void | CloseSubpath () |
Closes the current subpath. More... |
|
virtual void | CloseAllSubpaths () |
Closes all subpathes contained in this path. More... |
|
virtual IList< int > | ReplaceCloseWithLine () |
Adds additional line to each closed subpath and makes the subpath unclosed. More... |
|
virtual bool | IsEmpty () |
Path is empty if it contains no subpaths. More... |
|
Paths define shapes, trajectories, and regions of all sorts.
Paths define shapes, trajectories, and regions of all sorts. They shall be used to draw lines, define the shapes of filled areas, and specify boundaries for clipping other graphics. A path shall be composed of straight and curved line segments, which may connect to one another or may be disconnected.
|
inlinevirtual |
Adds the subpath to this path.
subpath | The subpath to be added to this path. |
|
inlinevirtual |
Adds the subpaths to this path.
subpaths |
System.Collections.IList
_T0 | : | Subpath |
|
inlinevirtual |
Closes all subpathes contained in this path.
|
inlinevirtual |
Closes the current subpath.
|
inlinevirtual |
Appends a cubic Bezier curve to the current path.
Appends a cubic Bezier curve to the current path. The curve shall extend from the current point to the point
|
inlinevirtual |
Appends a cubic Bezier curve to the current path.
Appends a cubic Bezier curve to the current path. The curve shall extend from the current point to the point
|
inlinevirtual |
Appends a cubic Bezier curve to the current path.
Appends a cubic Bezier curve to the current path. The curve shall extend from the current point to the point
|
inlinevirtual |
The current point is the trailing endpoint of the segment most recently added to the current path.
|
inlinevirtual |
|
inlinevirtual |
Path is empty if it contains no subpaths.
|
inlinevirtual |
Appends a straight line segment from the current point to the point
(x, y)
.
x | x-coordinate of the new point |
y | y-coordinate of the new point |
|
inlinevirtual |
Begins a new subpath by moving the current point to coordinates
(x, y)
.
x | x-coordinate of the new point |
y | y-coordinate of the new point |
|
inlinevirtual |
Appends a rectangle to the current path as a complete subpath.
|
inlinevirtual |
Appends a rectangle to the current path as a complete subpath.
|
inlinevirtual |
Adds additional line to each closed subpath and makes the subpath unclosed.
Adds additional line to each closed subpath and makes the subpath unclosed. The line connects the last and the first points of the subpaths.