Krita Source Code Documentation
Loading...
Searching...
No Matches
KoGradientSegmentEndpoint Struct Reference

#include <KoSegmentGradient.h>

Public Member Functions

 KoGradientSegmentEndpoint (qreal _off, KoColor _color, KoGradientSegmentEndpointType _type)
 

Public Attributes

KoColor color
 
qreal offset
 
KoGradientSegmentEndpointType type
 

Detailed Description

Definition at line 47 of file KoSegmentGradient.h.

Constructor & Destructor Documentation

◆ KoGradientSegmentEndpoint()

KoGradientSegmentEndpoint::KoGradientSegmentEndpoint ( qreal _off,
KoColor _color,
KoGradientSegmentEndpointType _type )
inline

Definition at line 48 of file KoSegmentGradient.h.

48 :
49 offset(_off), color(_color), type(_type)
50 {
51
52 }
KoGradientSegmentEndpointType type

Member Data Documentation

◆ color

KoColor KoGradientSegmentEndpoint::color

Definition at line 55 of file KoSegmentGradient.h.

◆ offset

qreal KoGradientSegmentEndpoint::offset

Definition at line 54 of file KoSegmentGradient.h.

◆ type

KoGradientSegmentEndpointType KoGradientSegmentEndpoint::type

Definition at line 56 of file KoSegmentGradient.h.


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