iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
IColorStop Struct Reference

Used to represent a point/stop in a gradient. More...

#include <IGraphicsStructs.h>

Public Member Functions

 IColorStop (IColor color, float offset)
 Create an IColor stop. More...
 

Public Attributes

IColor mColor
 
float mOffset
 

Detailed Description

Used to represent a point/stop in a gradient.

Definition at line 2115 of file IGraphicsStructs.h.

Constructor & Destructor Documentation

◆ IColorStop() [1/2]

IColorStop::IColorStop ( )
inline

Definition at line 2117 of file IGraphicsStructs.h.

◆ IColorStop() [2/2]

IColorStop::IColorStop ( IColor  color,
float  offset 
)
inline

Create an IColor stop.

Parameters
colorThe IColor for the stop
offsetThe point in the gradient for the stop

Definition at line 2124 of file IGraphicsStructs.h.

Member Data Documentation

◆ mColor

IColor IColorStop::mColor

Definition at line 2131 of file IGraphicsStructs.h.

◆ mOffset

float IColorStop::mOffset

Definition at line 2132 of file IGraphicsStructs.h.


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