WardleyLabelOffset Struct

The position of the label of a component of a Wardley map, relative to the component, in pixels (Mermaid label [x, y]).

public readonly struct WardleyLabelOffset : IEquatable<WardleyLabelOffset>
Implements

Constructors

NameDescription
WardleyLabelOffset(int, int)The position of the label of a component of a Wardley map, relative to the component, in pixels (Mermaid label [x, y]).

WardleyLabelOffset(int, int)

The position of the label of a component of a Wardley map, relative to the component, in pixels (Mermaid label [x, y]).

public WardleyLabelOffset(int X, int Y)

Parameters

X int
The horizontal offset: a negative value moves the label left.
Y int
The vertical offset: a negative value moves the label up.

Properties

NameDescription
XThe horizontal offset: a negative value moves the label left.
YThe vertical offset: a negative value moves the label up.

The horizontal offset: a negative value moves the label left.

public int X { get; init; }

Property value

int

The vertical offset: a negative value moves the label up.

public int Y { get; init; }

Property value

int

Methods

NameDescription
Deconstruct(int, int)
Equals(WardleyLabelOffset)
Equals(object)
GetHashCode()
ToString()

Deconstruct(int, int)

public void Deconstruct(out int X, out int Y)

Parameters

X int
Y int

No documentation is available.

Equals overloads

Equals(WardleyLabelOffset)

public bool Equals(WardleyLabelOffset other)
Parameters
other WardleyLabelOffset
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(WardleyLabelOffset, WardleyLabelOffset)
operator !=(WardleyLabelOffset, WardleyLabelOffset)

operator ==(WardleyLabelOffset, WardleyLabelOffset)

public static bool operator ==(WardleyLabelOffset left, WardleyLabelOffset right)

Parameters

left WardleyLabelOffset
right WardleyLabelOffset

Returns

bool

No documentation is available.

operator !=(WardleyLabelOffset, WardleyLabelOffset)

public static bool operator !=(WardleyLabelOffset left, WardleyLabelOffset right)

Parameters

left WardleyLabelOffset
right WardleyLabelOffset

Returns

bool

No documentation is available.