Enum PathCommandType

    Definition

    Namespace:
    Tizen.NUI.BaseComponents.VectorGraphics
    Assembly:
    Tizen.NUI.dll

    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).

    public enum PathCommandType

    Fields

    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.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX