Skia
2D Graphics Library
SkColors Namespace Reference

Variables

constexpr SkColor4f kTransparent = {0, 0, 0, 0}
 
constexpr SkColor4f kBlack = {0, 0, 0, 1}
 
constexpr SkColor4f kDkGray = {0.25f, 0.25f, 0.25f, 1}
 
constexpr SkColor4f kGray = {0.50f, 0.50f, 0.50f, 1}
 
constexpr SkColor4f kLtGray = {0.75f, 0.75f, 0.75f, 1}
 
constexpr SkColor4f kWhite = {1, 1, 1, 1}
 
constexpr SkColor4f kRed = {1, 0, 0, 1}
 
constexpr SkColor4f kGreen = {0, 1, 0, 1}
 
constexpr SkColor4f kBlue = {0, 0, 1, 1}
 
constexpr SkColor4f kYellow = {1, 1, 0, 1}
 
constexpr SkColor4f kCyan = {0, 1, 1, 1}
 
constexpr SkColor4f kMagenta = {1, 0, 1, 1}
 

Variable Documentation

◆ kBlack

constexpr SkColor4f SkColors::kBlack = {0, 0, 0, 1}
constexpr

◆ kBlue

constexpr SkColor4f SkColors::kBlue = {0, 0, 1, 1}
constexpr

◆ kCyan

constexpr SkColor4f SkColors::kCyan = {0, 1, 1, 1}
constexpr

◆ kDkGray

constexpr SkColor4f SkColors::kDkGray = {0.25f, 0.25f, 0.25f, 1}
constexpr

◆ kGray

constexpr SkColor4f SkColors::kGray = {0.50f, 0.50f, 0.50f, 1}
constexpr

◆ kGreen

constexpr SkColor4f SkColors::kGreen = {0, 1, 0, 1}
constexpr

◆ kLtGray

constexpr SkColor4f SkColors::kLtGray = {0.75f, 0.75f, 0.75f, 1}
constexpr

◆ kMagenta

constexpr SkColor4f SkColors::kMagenta = {1, 0, 1, 1}
constexpr

◆ kRed

constexpr SkColor4f SkColors::kRed = {1, 0, 0, 1}
constexpr

◆ kTransparent

constexpr SkColor4f SkColors::kTransparent = {0, 0, 0, 0}
constexpr

◆ kWhite

constexpr SkColor4f SkColors::kWhite = {1, 1, 1, 1}
constexpr

◆ kYellow

constexpr SkColor4f SkColors::kYellow = {1, 1, 0, 1}
constexpr