Table of Contents

Class ConnectionsConversions

Namespace
Termule.Engine.Types
Assembly
Termule.Engine.dll

Extension methods for converting to and from Connections.

public static class ConnectionsConversions
Inheritance
ConnectionsConversions
Inherited Members

Methods

FromGlyph(char)

Finds the box-drawing Connections of the given glyph.

public static Connections FromGlyph(char glyph)

Parameters

glyph char

The glyph to determine the connections of.

Returns

Connections

The connections of the glyph.

Remarks

This will be None for most glyphs.

ToGlyph(Connections)

Gets the box-drawing glyph for this Connections.

public static char ToGlyph(this Connections connections)

Parameters

connections Connections

The connections to convert.

Returns

char

The corresponding unicode box glyph.