Commit 5e89f225 authored by santiaago's avatar santiaago
Browse files

add inv param documentation.

parent 89e18402
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -130,6 +130,7 @@ You can set the HTML source of the image to point directly to **tinygraphs.com**
    * ![theme](http://tinygraphs.com/themes/frogideas?fmt=svg&h=20) frogideas
    * ![theme](http://tinygraphs.com/themes/berrypie?fmt=svg&h=20) berrypie


* **numcolors**: `tinygraphs.com/labs/squares/random?theme=summerwarmth&numcolors=4`

    You can specify the number of colors that you want to render the image.
@@ -137,6 +138,14 @@ You can set the HTML source of the image to point directly to **tinygraphs.com**

    ![theme](http://tinygraphs.com/labs/squares/random?theme=frogideas&size=120&fmt=svg&numcolors=2) ![theme](http://tinygraphs.com/labs/squares/random?theme=frogideas&size=120&fmt=svg&numcolors=3) ![theme](http://tinygraphs.com/labs/squares/random?theme=frogideas&size=120&fmt=svg&numcolors=4)

* **inv**:
`tinygraphs.com/squares/hello?theme=frogideas&numcolors=2&inv=1`

    You can specify if you want to see the colors inverted.
    Default value is **false**. `inv` parameter works with theme colors or default (black and white) colors. The number of colors has to be equal to **2**.

    ![normal](http://tinygraphs.com/squares/hello?theme=frogideas&size=120&fmt=svg&numcolors=2&inv=0) ![inverse](http://tinygraphs.com/squares/hello?theme=frogideas&size=120&fmt=svg&numcolors=2&inv=1)

* **lines**:
`tinygraphs.com/isogrids/hello?lines=4`

@@ -181,6 +190,7 @@ You can set the HTML source of the image to point directly to **tinygraphs.com**
    `tinygraphs.com/labs/isogrids/banner/gradient?theme=bythepool&xt=4&h=120&w=120&gx1=0&gy1=0&gy2=60&gx2=60`

    ![isogrid color gradient](http://www.tinygraphs.com/labs/isogrids/banner/gradient?theme=bythepool&xt=4&h=120&w=120&gx1=0&gy1=0&gy2=60&gx2=60)

Organization
=====