Index: experimental/svg/model/SkSVGLinearGradient.h |
diff --git a/experimental/svg/model/SkSVGLinearGradient.h b/experimental/svg/model/SkSVGLinearGradient.h |
index 1a2e332baf86364754e0588571ef41d82b8c5e9e..e12b5245e80f8e25d766f91422cc9fdc7a1354cc 100644 |
--- a/experimental/svg/model/SkSVGLinearGradient.h |
+++ b/experimental/svg/model/SkSVGLinearGradient.h |
@@ -19,6 +19,7 @@ public: |
} |
void setHref(const SkSVGStringType&); |
+ void setSpreadMethod(const SkSVGSpreadMethod&); |
void setX1(const SkSVGLength&); |
void setY1(const SkSVGLength&); |
void setX2(const SkSVGLength&); |
@@ -41,7 +42,8 @@ private: |
SkSVGLength fX2 = SkSVGLength(100, SkSVGLength::Unit::kPercentage); |
SkSVGLength fY2 = SkSVGLength(0 , SkSVGLength::Unit::kPercentage); |
- SkSVGStringType fHref; |
+ SkSVGStringType fHref; |
+ SkSVGSpreadMethod fSpreadMethod = SkSVGSpreadMethod(SkSVGSpreadMethod::Type::kPad); |
typedef SkSVGHiddenContainer INHERITED; |
}; |