MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / setColorStopAt

Method setColorStopAt

qcustomplot.cpp:15867–15871  ·  view source on GitHub ↗

! Sets the \a color the gradient will have at the specified \a position (from 0 to 1). In between these color stops, the color is interpolated according to \ref setColorInterpolation. \see setColorStops, clearColorStops */

Source from the content-addressed store, hash-verified

15865 \see setColorStops, clearColorStops
15866*/
15867void QCPColorGradient::setColorStopAt(double position, const QColor &color)
15868{
15869 mColorStops.insert(position, color);
15870 mColorBufferInvalidated = true;
15871}
15872
15873/*!
15874 Sets whether the colors in between the configured color stops (see \ref setColorStopAt) shall be

Callers 1

invertedMethod · 0.80

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected