- Qt 6.12
- Qt Canvas Painter
- C++ Classes
- QCanvasGradientStop
- Qt Canvas Painter | Commercial or GPLv3

# QCanvasGradientStop Struct

A gradient stop. More...

Header: | `#include <QCanvasGradientStop>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS CanvasPainter)` `target_link_libraries(mytarget PRIVATE Qt6::CanvasPainter)`
Since: | Qt 6.11

- List of all members, including inherited members

## Public Variables

QColor | color
float | position

## Detailed Description

Describes a stop point in a gradient.

## Member Variable Documentation

### QColor QCanvasGradientStop::color

The color for the stop point.

### float QCanvasGradientStop::position

The position for the stop point.