API Reference
Struct
OfficePathCommand
Dependency-free path command used by shared drawing descriptors. Coordinates are expressed in the path's local top-left coordinate space.
Inheritance
- ValueType
- OfficePathCommand
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OfficeClipPath.Commands
- Method OfficeGeometry.CreateEllipticalArcCubicBezierCommands
- Method OfficePathCommand.Close
- Method OfficePathCommand.CubicBezierTo
- Method OfficePathCommand.CubicBezierTo
- Method OfficePathCommand.LineTo
- Method OfficePathCommand.LineTo
- Method OfficePathCommand.MoveTo
- Method OfficePathCommand.MoveTo
- Method OfficePathCommand.QuadraticBezierTo
- Method OfficePathCommand.QuadraticBezierTo
- Property OfficeShape.PathCommands
Accepted by parameters
- Method OfficeClipPath.Path
- Method OfficeClipPath.Path
- Method OfficeClipPath.Path
- Method OfficePathCommand.Equals
- Method OfficePathCommand.op_Equality
- Method OfficePathCommand.op_Equality
- Method OfficePathCommand.op_Inequality
- Method OfficePathCommand.op_Inequality
- Method OfficeShape.Path
- Method OfficeShape.Path
- Method OfficeShape.Path
- Method OfficeShape.Path
- Method OfficeSvgFormatting.AppendPathData
- Method OfficeSvgFormatting.AppendPathElement
- Method OfficeSvgFormatting.FormatPathData
Methods
CubicBezierTo 2 overloads
public static OfficePathCommand CubicBezierTo(Double control1X, Double control1Y, Double control2X, Double control2Y, Double endX, Double endY) #Returns:
OfficePathCommandCreates a cubic Bezier curve command.
Parameters
- control1X System.Double
- control1Y System.Double
- control2X System.Double
- control2Y System.Double
- endX System.Double
- endY System.Double
public static OfficePathCommand CubicBezierTo(OfficePoint controlPoint1, OfficePoint controlPoint2, OfficePoint endPoint) #Returns:
OfficePathCommandCreates a cubic Bezier curve command.
Parameters
- controlPoint1 OfficeIMO.Drawing.OfficePoint
- controlPoint2 OfficeIMO.Drawing.OfficePoint
- endPoint OfficeIMO.Drawing.OfficePoint
Equals 2 overloads
public override Int32 GetHashCode() #Returns:
Int32LineTo 2 overloads
public static OfficePathCommand LineTo(Double x, Double y) #Returns:
OfficePathCommandCreates a line command.
Parameters
- x System.Double
- y System.Double
public static OfficePathCommand LineTo(OfficePoint point) #Returns:
OfficePathCommandCreates a line command.
Parameters
- point OfficeIMO.Drawing.OfficePoint
MoveTo 2 overloads
public static OfficePathCommand MoveTo(Double x, Double y) #Returns:
OfficePathCommandCreates a move command.
Parameters
- x System.Double
- y System.Double
public static OfficePathCommand MoveTo(OfficePoint point) #Returns:
OfficePathCommandCreates a move command.
Parameters
- point OfficeIMO.Drawing.OfficePoint
public static Boolean op_Equality(OfficePathCommand left, OfficePathCommand right) #Returns:
BooleanCompares two path commands for equality.
Parameters
- left OfficeIMO.Drawing.OfficePathCommand
- right OfficeIMO.Drawing.OfficePathCommand
public static Boolean op_Inequality(OfficePathCommand left, OfficePathCommand right) #Returns:
BooleanCompares two path commands for inequality.
Parameters
- left OfficeIMO.Drawing.OfficePathCommand
- right OfficeIMO.Drawing.OfficePathCommand
QuadraticBezierTo 2 overloads
public static OfficePathCommand QuadraticBezierTo(Double controlX, Double controlY, Double endX, Double endY) #Returns:
OfficePathCommandCreates a quadratic Bezier curve command.
Parameters
- controlX System.Double
- controlY System.Double
- endX System.Double
- endY System.Double
public static OfficePathCommand QuadraticBezierTo(OfficePoint controlPoint, OfficePoint endPoint) #Returns:
OfficePathCommandCreates a quadratic Bezier curve command.
Parameters
- controlPoint OfficeIMO.Drawing.OfficePoint
- endPoint OfficeIMO.Drawing.OfficePoint