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