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
Fields
None
The IndexRange that represents an empty collection
public static readonly IndexRange None
Field Value
Properties
IsValid
public bool IsValid { get; }
Property Value
Length
public int Length { get; }
Property Value
Max
public int Max { get; init; }
Property Value
Min
public int Min { get; init; }