Skip to content

Commit

Permalink
add explanation of tile size to pattern docs
Browse files Browse the repository at this point in the history
  • Loading branch information
samanpwbb committed Sep 14, 2015
1 parent af548fc commit 43787d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reference/v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@
"type": "string",
"function": "piecewise-constant",
"transition": true,
"doc": "Name of image in sprite to use for drawing image fills."
"doc": "Name of image in sprite to use for drawing image fills. For seamless patterns, image dimensions must be a factor of tile dimensions. Typically, tiles are 512px x 512px so image length and height should equal to 1, 2, 4, 8, 16, 32, 64, 128, 256, or 512."
}
},
"paint_line": {
Expand Down Expand Up @@ -1289,7 +1289,7 @@
"type": "string",
"function": "piecewise-constant",
"transition": true,
"doc": "Optionally an image which is drawn as the background."
"doc": "Optionally an image which is drawn as the background. For seamless patterns, image dimensions must be a factor of tile dimensions. Typically, tiles are 512px x 512px so image length and height should equal to 1, 2, 4, 8, 16, 32, 64, 128, 256, or 512."
},
"background-opacity": {
"type": "number",
Expand Down

0 comments on commit 43787d3

Please sign in to comment.