Class PathCommands

Definition

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

Data class that contains information about a list of path commands. For each command from the commands array, an appropriate number of points in points array should be specified.

C#
Copy
public class PathCommands
Inheritance
System.Object
PathCommands

Constructors

View Source

PathCommands(IEnumerable<PathCommandType>, IEnumerable<Single>)

Initialize PathCommands.

Declaration
C#
Copy
public PathCommands(IEnumerable<PathCommandType> commands, IEnumerable<float> points)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<PathCommandType> commands

The array of commands.

System.Collections.Generic.IEnumerable<System.Single> points

The array of points.

Exceptions
Type Condition
ArgumentNullException

Thrown when commands or points are null.

API Level: 9

Properties

View Source

Commands

The commands array.

Declaration
C#
Copy
public IEnumerable<PathCommandType> Commands { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<PathCommandType>
Exceptions
Type Condition
ArgumentNullException

Thrown when commands is null.

API Level: 9
View Source

Points

The points array

Declaration
C#
Copy
public IEnumerable<float> Points { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Single>
Exceptions
Type Condition
ArgumentNullException

Thrown when points is null.

API Level: 9