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
Properties
Left
public readonly float Left { get; }
Property Value
Right
public readonly float Right { get; }
Property Value
Span
public readonly float Span { get; }
Property Value
Methods
Contains(float)
public readonly bool Contains(float position)
Parameters
positionfloat
Returns
Expand(float)
public void Expand(float value)
Parameters
valuefloat
ToString()
Returns the fully qualified type name of this instance.
public override readonly string ToString()
Returns
- string
The fully qualified type name.