Struct
DiagramSegmentPosition

Represents position of a DiagramSegment.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public struct DiagramSegmentPosition

Constructors

DiagramSegmentPosition(double, double)

Initializes a new instance of the DiagramSegmentPosition struct.

Declaration

cs-api-definition
public DiagramSegmentPosition(double x, double y)

Parameters

x

double

The x.

y

double

The y.

DiagramSegmentPosition(int, int)

Initializes a new instance of the DiagramSegmentPosition struct.

Declaration

cs-api-definition
public DiagramSegmentPosition(int x, int y)

Parameters

x

int

The x.

y

int

The y.

Properties

X

Gets or sets the X.

Declaration

cs-api-definition
public int X { get; set; }

Property Value

int

The X.

Y

Gets or sets the Y.

Declaration

cs-api-definition
public int Y { get; set; }

Property Value

int

The Y.

Methods

Equals(object)

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides ValueType.Equals(object)

GetHashCode()

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides ValueType.GetHashCode()

ToString()

Declaration

cs-api-definition
public override string ToString()

Returns

string

Overrides ValueType.ToString()