Class PathCommands

Definition

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

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
object
PathCommands

Constructors

View Source

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

Initialize PathCommands.

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

The array of commands.

System.Collections.Generic.IEnumerable<T><float> points

The array of points.

Exceptions
Type Condition
System.ArgumentNullException

Thrown when commands or points are null.

Properties

View Source

Commands

The commands array. This property returns an enumerable collection of PathCommandType representing the path commands.

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

Thrown when commands is null.

View Source

Points

The points array This returns an enumerable collection of floating-point numbers representing the points.

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

Thrown when points is null.