콘텐츠로 이동

PathCommand structure

이 콘텐츠는 아직 번역되지 않았습니다.

Represents a single command in a PathGeometry.

public struct PathCommand
name description
PathCommand(…) Creates a command; coordinates the command does not use stay 0.
Type { get; } Gets the command type.
X0 { get; } Gets the X coordinate of the target point of a move or line, or of the first control point of a curve.
X1 { get; } Gets the X coordinate of the second control point of a curve; unused by other commands.
X2 { get; } Gets the X coordinate of the end point of a curve; unused by other commands.
Y0 { get; } Gets the Y coordinate of the target point of a move or line, or of the first control point of a curve.
Y1 { get; } Gets the Y coordinate of the second control point of a curve; unused by other commands.
Y2 { get; } Gets the Y coordinate of the end point of a curve; unused by other commands.