ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.Palettes.Custom Class Reference
Inheritance diagram for ScottPlot.Palettes.Custom:
ScottPlot.IPalette

Public Member Functions

 Custom (Color[] colors, string? name, string? description=null)
 
 Custom (string[] hex, string? name=null, string? description=null)
 
Color GetColor (int index)
 Return the Nth color (wrapping around if N is larger than the number of colors)
 

Properties

Color[] Colors [get]
 All colors in this palette.
 
string Name [get]
 Display name.
 
string Description [get]
 Additional information such as the source of this palette.
 
- Properties inherited from ScottPlot.IPalette

Constructor & Destructor Documentation

◆ Custom() [1/2]

ScottPlot.Palettes.Custom.Custom ( Color[]  colors,
string?  name,
string?  description = null 
)
inline

◆ Custom() [2/2]

ScottPlot.Palettes.Custom.Custom ( string[]  hex,
string?  name = null,
string?  description = null 
)
inline

Member Function Documentation

◆ GetColor()

Color ScottPlot.Palettes.Custom.GetColor ( int  index)
inline

Return the Nth color (wrapping around if N is larger than the number of colors)

Implements ScottPlot.IPalette.

Property Documentation

◆ Colors

Color [] ScottPlot.Palettes.Custom.Colors
get

All colors in this palette.

Implements ScottPlot.IPalette.

◆ Description

string ScottPlot.Palettes.Custom.Description
get

Additional information such as the source of this palette.

Implements ScottPlot.IPalette.

◆ Name

string ScottPlot.Palettes.Custom.Name
get

Display name.

Implements ScottPlot.IPalette.


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