PathCommand Struct
A command of a PathData. The fields that do not apply to its kind are 0.
public readonly struct PathCommand : IEquatable<PathCommand>- Implements
Constructors
| Name | Description |
|---|---|
| PathCommand(PathCommandKind, double, double, double, double, double, double, bool, bool) | A command of a PathData. The fields that do not apply to its kind are 0. |
PathCommand(PathCommandKind, double, double, double, double, double, double, bool, bool)
A command of a PathData. The fields that do not apply to its kind are 0.
public PathCommand(PathCommandKind Kind, double X, double Y, double X1 = 0d, double Y1 = 0d, double X2 = 0d, double Y2 = 0d, bool LargeArc = false, bool Sweep = false)Parameters
KindPathCommandKind- The kind of the command.
Xdouble- The x coordinate of the end point.
Ydouble- The y coordinate of the end point.
X1double- The x coordinate of the first control point, or the x radius of an arc.
Y1double- The y coordinate of the first control point, or the y radius of an arc.
X2double- The x coordinate of the second control point, or the rotation of an arc in degrees.
Y2double- The y coordinate of the second control point.
LargeArcbool- For an arc, whether it is the larger of the two candidate arcs.
Sweepbool- For an arc, whether it is drawn clockwise.
Properties
| Name | Description |
|---|---|
| Kind | The kind of the command. |
| LargeArc | For an arc, whether it is the larger of the two candidate arcs. |
| Sweep | For an arc, whether it is drawn clockwise. |
| X | The x coordinate of the end point. |
| X1 | The x coordinate of the first control point, or the x radius of an arc. |
| X2 | The x coordinate of the second control point, or the rotation of an arc in degrees. |
| Y | The y coordinate of the end point. |
| Y1 | The y coordinate of the first control point, or the y radius of an arc. |
| Y2 | The y coordinate of the second control point. |
Kind
PathCommand.csLargeArc
PathCommand.csSweep
PathCommand.csMethods
| Name | Description |
|---|---|
| Deconstruct(PathCommandKind, double, double, double, double, double, double, bool, bool) | |
| Equals(PathCommand) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Deconstruct(PathCommandKind, double, double, double, double, double, double, bool, bool)
Equals overloads
Equals(PathCommand)
public bool Equals(PathCommand other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(PathCommand, PathCommand) | |
| operator !=(PathCommand, PathCommand) |
operator ==(PathCommand, PathCommand)
public static bool operator ==(PathCommand left, PathCommand right)No documentation is available.
operator !=(PathCommand, PathCommand)
public static bool operator !=(PathCommand left, PathCommand right)No documentation is available.