Table of Contents

Struct IndexRange

Namespace
ScottPlot
Assembly
ScottPlot.dll

Represents a range of indexes in an array (inclusive)

public readonly record struct IndexRange : IEquatable<IndexRange>
Implements
Inherited Members
Extension Methods

Constructors

IndexRange(int, int)

Represents a range of indexes in an array (inclusive)

public IndexRange(int Min, int Max)

Parameters

Min int
Max int

Fields

None

The IndexRange that represents an empty collection

public static readonly IndexRange None

Field Value

IndexRange

Properties

IsValid

public bool IsValid { get; }

Property Value

bool

Length

public int Length { get; }

Property Value

int

Max

public int Max { get; init; }

Property Value

int

Min

public int Min { get; init; }

Property Value

int