Skip to main content

UnicodeRange Struct

Definition

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia

The Avalonia.Media.UnicodeRange descripes a set of Unicode characters.

public struct UnicodeRange

Inheritance: ValueType -> UnicodeRange

Implements: IEquatable<UnicodeRange>

Constructors

NameDescription
UnicodeRange (3 overloads)No summary available.

UnicodeRange overloads

UnicodeRange Constructor

public UnicodeRange(Avalonia.Media.UnicodeRangeSegment single)
Parameters

single Avalonia.Media.UnicodeRangeSegment

UnicodeRange Constructor

public UnicodeRange(System.Collections.Generic.IReadOnlyList<Avalonia.Media.UnicodeRangeSegment> segments)
Parameters

segments System.Collections.Generic.IReadOnlyList<Avalonia.Media.UnicodeRangeSegment>

UnicodeRange Constructor

public UnicodeRange(int start, int end)
Parameters

start int

end int

Methods

NameDescription
Equals (2 overloads)No summary available.
GetHashCodeNo summary available.
IsInRangeDetermines if given value is inside the range.
ParseParses a Avalonia.Media.UnicodeRange.
ToStringNo summary available.

Equals overloads

Equals Method

public bool Equals(Avalonia.Media.UnicodeRange other)
Parameters

other Avalonia.Media.UnicodeRange

Returns

bool

Equals Method

public bool Equals(object obj)
Parameters

obj object

Returns

bool

GetHashCode Method

public int GetHashCode()

Returns

int

IsInRange Method

Determines if given value is inside the range.

public bool IsInRange(int value)

Parameters

value int

The value to verify.

Returns

bool

true If given value is inside the range, false otherwise.

Parse Method

Parses a Avalonia.Media.UnicodeRange.

public Avalonia.Media.UnicodeRange Parse(string s)

Parameters

s string

The string to parse.

Returns

Avalonia.Media.UnicodeRange

The parsed Avalonia.Media.UnicodeRange.

Exceptions

ToString Method

public string ToString()

Returns

string

Fields

NameDescription
DefaultNo summary available.

Default Field

public Avalonia.Media.UnicodeRange Default