MCPcopy Create free account
hub / github.com/YYC572652645/QCoolPage / setColorStops

Method setColorStops

qcustomplot/qcustomplot.cpp:11221–11225  ·  view source on GitHub ↗

! Sets at which positions from 0 to 1 which color shall occur. The positions are the keys, the colors are the values of the passed QMap \a colorStops. In between these color stops, the color is interpolated according to \ref setColorInterpolation. A more convenient way to create a custom gradient may be to clear all color stops with \ref clearColorStops and then adding them one by one

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected