New to Telerik UI for WPFStart a free 30-day trial

Represents position of a DiagramSegment.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

C#
public struct DiagramSegmentPosition

Constructors

Initializes a new instance of the DiagramSegmentPosition struct.

C#
public DiagramSegmentPosition(double x, double y)
Parameters:xdouble

The x.

ydouble

The y.

Initializes a new instance of the DiagramSegmentPosition struct.

C#
public DiagramSegmentPosition(int x, int y)
Parameters:xint

The x.

yint

The y.

Properties

Gets or sets the X.

C#
public int X { get; set; }
Property Value:

The X.

Gets or sets the Y.

C#
public int Y { get; set; }
Property Value:

The Y.

Methods

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: ValueType.Equals(object)

C#
public override int GetHashCode()
Returns:

int

Overrides: ValueType.GetHashCode()

C#
public override string ToString()
Returns:

string

Overrides: ValueType.ToString()