Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
sksg::Gradient::ColorStop Struct Reference

#include <SkSGGradient.h>

Public Member Functions

bool operator== (const ColorStop &other) const
 

Public Attributes

SkScalar fPosition
 
SkColor4f fColor
 

Detailed Description

Definition at line 30 of file SkSGGradient.h.

Member Function Documentation

◆ operator==()

bool sksg::Gradient::ColorStop::operator== ( const ColorStop other) const
inline

Definition at line 34 of file SkSGGradient.h.

34 {
35 return fPosition == other.fPosition && fColor == other.fColor;
36 }

Member Data Documentation

◆ fColor

SkColor4f sksg::Gradient::ColorStop::fColor

Definition at line 32 of file SkSGGradient.h.

◆ fPosition

SkScalar sksg::Gradient::ColorStop::fPosition

Definition at line 31 of file SkSGGradient.h.


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