Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
TextShadow.h
Go to the documentation of this file.
1// Copyright 2019 Google LLC.
2#ifndef TextShadow_DEFINED
3#define TextShadow_DEFINED
4
7
8namespace skia {
9namespace textlayout {
10
12public:
15 double fBlurSigma = 0.0;
16
18
19 TextShadow(SkColor color, SkPoint offset, double blurSigma);
20
21 bool operator==(const TextShadow& other) const;
22
23 bool operator!=(const TextShadow& other) const;
24
25 bool hasShadow() const;
26};
27} // namespace textlayout
28} // namespace skia
29
30#endif // TextShadow_DEFINED
SkColor4f color
uint32_t SkColor
Definition SkColor.h:37
constexpr SkColor SK_ColorBLACK
Definition SkColor.h:103
bool operator==(const TextShadow &other) const
bool operator!=(const TextShadow &other) const
Point offset