diff options
Diffstat (limited to 'libs/hwui/Outline.h')
-rw-r--r-- | libs/hwui/Outline.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/Outline.h b/libs/hwui/Outline.h index 5c24335..5e7f899 100644 --- a/libs/hwui/Outline.h +++ b/libs/hwui/Outline.h @@ -49,6 +49,10 @@ public: mBounds.set(outline->getBounds()); } + bool isEmpty() const { + return mType == kOutlineType_None; + } + void setEmpty() { mType = kOutlineType_None; mPath.reset(); |