Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

OfficePathCommand

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Base ValueType
Implements
IEquatable<OfficePathCommand>
Modifiers sealed

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.

Accepted by parameters

Methods

public static OfficePathCommand Close() #
Returns: OfficePathCommand

Creates a close command.

CubicBezierTo 2 overloads
public static OfficePathCommand CubicBezierTo(Double control1X, Double control1Y, Double control2X, Double control2Y, Double endX, Double endY) #
Returns: OfficePathCommand

Creates a cubic Bezier curve command.

Parameters

control1X System.Double requiredposition: 0
control1Y System.Double requiredposition: 1
control2X System.Double requiredposition: 2
control2Y System.Double requiredposition: 3
endX System.Double requiredposition: 4
endY System.Double requiredposition: 5
public static OfficePathCommand CubicBezierTo(OfficePoint controlPoint1, OfficePoint controlPoint2, OfficePoint endPoint) #
Returns: OfficePathCommand

Creates a cubic Bezier curve command.

Parameters

controlPoint1 OfficeIMO.Drawing.OfficePoint requiredposition: 0
controlPoint2 OfficeIMO.Drawing.OfficePoint requiredposition: 1
endPoint OfficeIMO.Drawing.OfficePoint requiredposition: 2
Equals 2 overloads
public virtual Boolean Equals(OfficePathCommand other) #
Returns: Boolean

Parameters

other OfficeIMO.Drawing.OfficePathCommand requiredposition: 0
public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj System.Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
LineTo 2 overloads
public static OfficePathCommand LineTo(Double x, Double y) #
Returns: OfficePathCommand

Creates a line command.

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1
public static OfficePathCommand LineTo(OfficePoint point) #
Returns: OfficePathCommand

Creates a line command.

Parameters

point OfficeIMO.Drawing.OfficePoint requiredposition: 0
MoveTo 2 overloads
public static OfficePathCommand MoveTo(Double x, Double y) #
Returns: OfficePathCommand

Creates a move command.

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1
public static OfficePathCommand MoveTo(OfficePoint point) #
Returns: OfficePathCommand

Creates a move command.

Parameters

point OfficeIMO.Drawing.OfficePoint requiredposition: 0
public static Boolean op_Equality(OfficePathCommand left, OfficePathCommand right) #
Returns: Boolean

Compares two path commands for equality.

Parameters

left OfficeIMO.Drawing.OfficePathCommand requiredposition: 0
right OfficeIMO.Drawing.OfficePathCommand requiredposition: 1
public static Boolean op_Inequality(OfficePathCommand left, OfficePathCommand right) #
Returns: Boolean

Compares two path commands for inequality.

Parameters

left OfficeIMO.Drawing.OfficePathCommand requiredposition: 0
right OfficeIMO.Drawing.OfficePathCommand requiredposition: 1
QuadraticBezierTo 2 overloads
public static OfficePathCommand QuadraticBezierTo(Double controlX, Double controlY, Double endX, Double endY) #
Returns: OfficePathCommand

Creates a quadratic Bezier curve command.

Parameters

controlX System.Double requiredposition: 0
controlY System.Double requiredposition: 1
endX System.Double requiredposition: 2
endY System.Double requiredposition: 3
public static OfficePathCommand QuadraticBezierTo(OfficePoint controlPoint, OfficePoint endPoint) #
Returns: OfficePathCommand

Creates a quadratic Bezier curve command.

Parameters

controlPoint OfficeIMO.Drawing.OfficePoint requiredposition: 0
endPoint OfficeIMO.Drawing.OfficePoint requiredposition: 1

Properties

public OfficePathCommandKind Kind { get; } #

Command type.

public OfficePoint Point { get; } #

Primary point. For Bezier commands this is the end point.

public OfficePoint ControlPoint1 { get; } #

First Bezier control point.

public OfficePoint ControlPoint2 { get; } #

Second cubic Bezier control point.