Flutter Engine
The Flutter Engine
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
uint32_t SkColor
Definition: SkColor.h:37
constexpr SkColor SK_ColorBLACK
Definition: SkColor.h:103
bool operator==(const TextShadow &other) const
Definition: TextShadow.cpp:12
bool operator!=(const TextShadow &other) const
Definition: TextShadow.cpp:20
DlColor color
Definition: DartTypes.h:13
SeparatedVector2 offset