GetMetricInt() public method

Gets an integer metric value.
public GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricInt Requested metric.
return int
Example #1
0
 /// <summary>
 /// Gets an integer metric value.
 /// </summary>
 /// <param name="state">Palette value should be applicable to this state.</param>
 /// <param name="metric">Requested metric.</param>
 /// <returns>Integer value.</returns>
 public virtual int GetMetricInt(PaletteState state, PaletteMetricInt metric)
 {
     // Always pass onto the inheritance
     return(_inherit.GetMetricInt(state, metric));
 }