AGW Logo

peakmeter functions

This is the description of standalone Python functions in the peakmeter module.

method_summary Functions Summary


DarkenColour Darkens a colour.
InRange Returns whether the value val is between valMin and valMax.
LightenColour Lightens a colour.

API Functions API



DarkenColour(crColour, byReduceVal)[source]

Darkens a colour.

Parameters:
  • crColour – a valid wx.Colour object;
  • byReduceVal – an integer specifying the amount for which the input colour should be darkened.


InRange(val, valMin, valMax)[source]

Returns whether the value val is between valMin and valMax.

Parameters:
  • val – the value to test;
  • valMin – the minimum range value;
  • valMax – the maximum range value.


LightenColour(crColour, byIncreaseVal)[source]

Lightens a colour.

Parameters:
  • crColour – a valid wx.Colour object;

  • byIncreaseVal – an integer specifying the amount for which the input colour should be brightened.
Tree

Table Of Contents

Previous topic

PeakMeterData

Next topic

SVN Revision 68362 For peakmeter