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.
public class PathCommands
- Inheritance
-
objectPathCommands
Constructors
View SourcePathCommands(IEnumerable<PathCommandType>, IEnumerable<float>)
Initialize PathCommands.
Declaration
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 SourceCommands
The commands array. This property returns an enumerable collection of PathCommandType representing the path commands.
Declaration
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. |
Points
The points array This returns an enumerable collection of floating-point numbers representing the points.
Declaration
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. |