Navigation
API > API/Plugins > API/Plugins/SVGImporter
Inheritance Hierarchy
- FSharedFromThisBase
- TSharedFromThis
- FSVGBaseElement
- FSVGGraphicsElement
- FSVGPath
- FSVGCircle
- FSVGEllipse
- FSVGLine
- FSVGPolyLine
- FSVGPolygon
- FSVGRectangle
References
| Module | SVGImporter |
| Header | /Engine/Plugins/Experimental/SVGImporter/Source/SVGImporter/Public/SVGPath.h |
| Include | #include "SVGPath.h" |
Syntax
struct FSVGPath : public FSVGGraphicsElement
Remarks
SVG Path. It can describe a path with multiple subpaths and a length
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSVGPathElement | InitialPoint | Starting Path point | |
| FSVGPathElement | PathCursor | Current position of the Path Cursor | |
| float | PathLength | Length of this path | |
| TArray< FSVGSubPath > | SubPaths | The SubPaths composing this Path |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSVGPath () |
|||
FSVGPath
(
float InPathLength |
|||
FSVGPath
(
const TArray< TArray< FSVGPathCommand > >& InPaths, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add a point to this path | ||
| void | Add a point to this path | ||
| void | AddPoint
(
float InX, |
Add a point to this path | |
| void | AddSubPath
(
const TArray< FSVGPathCommand >& Commands |
Add a subpath to this path | |
| void | CubicBezierTo
(
float InX, |
Cubic Bezier To operation (see svg specifications) | |
| void | LineTo
(
float InX, |
Line To operation (see svg specifications) | |
| void | Line To operation (see svg specifications) | ||
| void | Move To operation (see svg specifications) | ||
| void | MoveTo
(
float InX, |
Move To operation (see svg specifications) | |
| void | PathCubicBezierTo
(
const FVector2D& InPointTo, |
Path Cubic Bezier To operation (see svg specifications) | |
| void | PathCubicBezierTo
(
float InX, |
Path Cubic Bezier To operation (see svg specifications) | |
| void | PathLineTo
(
const FVector2D& InPointTo |
Path Line To operation (see svg specifications) | |
| void | PathLineTo
(
float InX, |
Path Line To operation (see svg specifications) | |
| void | PathMoveTo
(
const FVector2D& InPointTo |
Path Move To operation (see svg specifications) | |
| void | PathMoveTo
(
float InX, |
Path Move To operation (see svg specifications) | |
| bool | UpdatePreviousElementLeaveTangent
(
const FVector2D& InLeaveTangent |
Set the leave tangent of the previous point |