Skip to main content

UnicodeRangeSegment Struct

Definition​

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia
public struct UnicodeRangeSegment

Inheritance: ValueType -> UnicodeRangeSegment

Implements: IEquatable<UnicodeRangeSegment>

Constructors​

NameDescription
UnicodeRangeSegmentNo summary available.

UnicodeRangeSegment Constructor​

public UnicodeRangeSegment(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 segment.
ParseParses a Avalonia.Media.UnicodeRangeSegment.
ToStringNo summary available.

Equals overloads​

Equals Method​

public bool Equals(Avalonia.Media.UnicodeRangeSegment other)
Parameters​

other Avalonia.Media.UnicodeRangeSegment

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 segment.

public bool IsInRange(int value)

Parameters​

value int

The value to verify.

Returns​

bool

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

Parse Method​

Parses a Avalonia.Media.UnicodeRangeSegment.

public Avalonia.Media.UnicodeRangeSegment Parse(string s)

Parameters​

s string

The string to parse.

Returns​

Avalonia.Media.UnicodeRangeSegment

The parsed Avalonia.Media.UnicodeRangeSegment.

Exceptions​

ToString Method​

public string ToString()

Returns​

string

Properties​

NameDescription
EndGet the end of the segment.
StartGet the start of the segment.

End Property​

Get the end of the segment.

public int End { get; set; }

Start Property​

Get the start of the segment.

public int Start { get; set; }