Enum PathCommandType

Definition

Namespace:
Tizen.NUI.BaseComponents.VectorGraphics
Assembly:
Tizen.NUI.dll
API Level:
9

Enumeration specifying the values of the path commands. Not to be confused with the path commands from the svg path element (like M, L, Q, H and many others).

C#
Copy
public enum PathCommandType
Name Description
Close

Ends the current sub-path and connects it with its initial point. This command doesn't expect any points.

CubicTo

Draws a cubic Bezier curve from the current point to the given point using two given control points and sets a new value of the current point. This command expects 3 points: the 1st control-point, the 2nd control-point, the end-point of the curve.

LineTo

Draws a line from the current point to the given point and sets a new value of the current point. This command expects 1 point: the end-position of the line.

MoveTo

Sets a new initial point of the sub-path and a new current point. This command expects 1 point: the starting position.