Table of Contents

Class Vertex

Namespace
C4.Net
Assembly
C4.Net.Core.dll

Represents the X and Y coordinate of a bend in a relationship line.

[DataContract]
public sealed class Vertex
Inheritance
Vertex
Inherited Members

Constructors

Vertex()

Creates an empty vertex.

public Vertex()

Vertex(int, int)

Creates a vertex at the supplied coordinates.

public Vertex(int x, int y)

Parameters

x int

The horizontal position.

y int

The vertical position.

Properties

X

The horizontal position of the vertex when rendered.

[DataMember(Name = "x", EmitDefaultValue = false)]
public int? X { get; set; }

Property Value

int?

Y

The vertical position of the vertex when rendered.

[DataMember(Name = "y", EmitDefaultValue = false)]
public int? Y { get; set; }

Property Value

int?