aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/user
diff options
context:
space:
mode:
authorGravatar benjaminwagner <benjaminwagner@google.com>2016-05-18 13:28:56 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-18 13:28:56 -0700
commitbac5eb073e8820203716b49dedc654b8d6cf9dc9 (patch)
tree00b79e6060292a13f99867f52ba675e896697bb8 /site/user
parent62efdbde9987df3422f677a1a7c8f355791c1ae4 (diff)
Fix example code in skpaint.md.
Diffstat (limited to 'site/user')
-rw-r--r--site/user/api/skpaint.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/user/api/skpaint.md b/site/user/api/skpaint.md
index 7a77bf7354..bde8eb639e 100644
--- a/site/user/api/skpaint.md
+++ b/site/user/api/skpaint.md
@@ -32,12 +32,12 @@ of matrix and clip settings.
paint1.setTextSize(64.0f);
paint1.setAntiAlias(true);
- paint1.setColor(SkColorSetRGB(255, 0, 0);
+ paint1.setColor(SkColorSetRGB(255, 0, 0));
paint1.setStyle(SkPaint::kFill_Style);
paint2.setTextSize(64.f);
paint2.setAntiAlias(true);
- paint2.setColor(SkColorSetRGB(0, 136, 0);
+ paint2.setColor(SkColorSetRGB(0, 136, 0));
paint2.setStyle(SkPaint::kStroke_Style);
paint2.setStrokeWidth(SkIntToScalar(3));