ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.Colormaps.Dense Class Reference
Inheritance diagram for ScottPlot.Colormaps.Dense:
ScottPlot.IColormap

Public Member Functions

Color GetColor (double position)
 Returns the color of a position on this colormap (from 0 to 1). Returns transparent if NaN. Positions outside the range will be clamped.
 
 Dense ()
 

Properties

string Name [get]
 Human readable name for this colormap.
 
- Properties inherited from ScottPlot.IColormap

Constructor & Destructor Documentation

◆ Dense()

ScottPlot.Colormaps.Dense.Dense ( )
inline

Member Function Documentation

◆ GetColor()

Color ScottPlot.Colormaps.Dense.GetColor ( double  position)

Returns the color of a position on this colormap (from 0 to 1). Returns transparent if NaN. Positions outside the range will be clamped.

Parameters
positionFractional distance along the colormap

Implements ScottPlot.IColormap.

Property Documentation

◆ Name

string ScottPlot.Colormaps.Dense.Name
get

Human readable name for this colormap.

Implements ScottPlot.IColormap.


The documentation for this class was generated from the following file: