From dc19ed67a1801b94c6fd27d6e1a5243e7c2988fa Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Mon, 20 Dec 2010 15:44:03 -0800 Subject: [PATCH] Anti-Aliasing example --- Readme.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 96c92cf..588f972 100644 --- a/Readme.md +++ b/Readme.md @@ -114,13 +114,17 @@ Given one of the values below will alter pattern (gradients, images, etc) render ## Anti-Aliasing - Set anti-aliasing mode: + Set anti-aliasing mode - default - none - gray - subpixel + For example: + + ctx.antialias = 'none'; + ## Benchmarks Although node-canvas is extremely new, and we have not even begun optimization yet it is already quite fast. For benchmarks vs other node canvas implementations view this [gist](https://gist.github.com/664922), or update the submodules and run `$ make benchmark` yourself.