Flutter Engine
The Flutter Engine
third_party
skia
modules
skparagraph
include
TextShadow.h
Go to the documentation of this file.
1
// Copyright 2019 Google LLC.
2
#ifndef TextShadow_DEFINED
3
#define TextShadow_DEFINED
4
5
#include "
include/core/SkColor.h
"
6
#include "
include/core/SkPoint.h
"
7
8
namespace
skia
{
9
namespace
textlayout {
10
11
class
TextShadow
{
12
public
:
13
SkColor
fColor
=
SK_ColorBLACK
;
14
SkPoint
fOffset
;
15
double
fBlurSigma
= 0.0;
16
17
TextShadow
();
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
SkColor.h
SkColor
uint32_t SkColor
Definition:
SkColor.h:37
SK_ColorBLACK
constexpr SkColor SK_ColorBLACK
Definition:
SkColor.h:103
SkPoint.h
skia::textlayout::TextShadow
Definition:
TextShadow.h:11
skia::textlayout::TextShadow::operator==
bool operator==(const TextShadow &other) const
Definition:
TextShadow.cpp:12
skia::textlayout::TextShadow::fOffset
SkPoint fOffset
Definition:
TextShadow.h:14
skia::textlayout::TextShadow::fBlurSigma
double fBlurSigma
Definition:
TextShadow.h:15
skia::textlayout::TextShadow::fColor
SkColor fColor
Definition:
TextShadow.h:13
skia::textlayout::TextShadow::TextShadow
TextShadow()
skia::textlayout::TextShadow::hasShadow
bool hasShadow() const
Definition:
TextShadow.cpp:22
skia::textlayout::TextShadow::operator!=
bool operator!=(const TextShadow &other) const
Definition:
TextShadow.cpp:20
color
DlColor color
Definition:
dl_golden_blur_unittests.cc:23
skia
Definition:
DartTypes.h:13
offset
SeparatedVector2 offset
Definition:
stroke_path_geometry.cc:311
SkPoint
Definition:
SkPoint_impl.h:163
Generated on Sun Jun 23 2024 21:56:06 for Flutter Engine by
1.9.4