Table of Contents

Struct PixelRangeX

Namespace
ScottPlot
Assembly
ScottPlot.dll

Represents a range of pixels between two pixels on the horizontal axis. The value of Left will be SMALLER than the value of Right.

public struct PixelRangeX
Inherited Members
Extension Methods

Constructors

PixelRangeX(float, float)

Represents a range of pixels between two pixels on the horizontal axis. The value of Left will be SMALLER than the value of Right.

public PixelRangeX(float x1, float x2)

Parameters

x1 float
x2 float

Properties

Left

public readonly float Left { get; }

Property Value

float

Right

public readonly float Right { get; }

Property Value

float

Span

public readonly float Span { get; }

Property Value

float

Methods

Contains(float)

public readonly bool Contains(float position)

Parameters

position float

Returns

bool

Expand(float)

public void Expand(float value)

Parameters

value float

ToString()

Returns the fully qualified type name of this instance.

public override readonly string ToString()

Returns

string

The fully qualified type name.