Class ComplexChar
A Curses, back-end-specific complex character that encodes the rune and its attributes.
Inherited Members
Namespace: Sharpie.Backend
Assembly: sharpie.dll
Syntax
[PublicAPI]
public sealed class ComplexChar
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string? ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |
Overrides
Operators
operator ==(ComplexChar?, ComplexChar?)
Equality comparison operator.
Declaration
public static bool operator ==(ComplexChar? left, ComplexChar? right)
Parameters
Type | Name | Description |
---|---|---|
ComplexChar | left | The left value. |
ComplexChar | right | The right value. |
Returns
Type | Description |
---|---|
bool | The result of the comparison. |
operator !=(ComplexChar?, ComplexChar?)
Inequality comparison operator.
Declaration
public static bool operator !=(ComplexChar? left, ComplexChar? right)
Parameters
Type | Name | Description |
---|---|---|
ComplexChar | left | The left value. |
ComplexChar | right | The right value. |
Returns
Type | Description |
---|---|
bool | The result of the comparison. |