Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTGradientElement Struct Reference

A structure representing one node in a linked list of RGBA colors. More...

#include <CPTGradient.h>

+ Collaboration diagram for CPTGradientElement:

Public Fields

CPTRGBAColor color
 Color. More...
 
CGFloat position
 Gradient position (0 ≤ position ≤ 1) More...
 
struct _CPTGradientElement *__nullable nextElement
 Pointer to the next CPTGradientElement in the list (last element == NULL) More...
 

Detailed Description

A structure representing one node in a linked list of RGBA colors.

Member Data Documentation

◆ color

CPTRGBAColor CPTGradientElement::color

Color.

◆ nextElement

struct _CPTGradientElement* __nullable CPTGradientElement::nextElement

Pointer to the next CPTGradientElement in the list (last element == NULL)

◆ position

CGFloat CPTGradientElement::position

Gradient position (0 ≤ position ≤ 1)


The documentation for this struct was generated from the following file: