Browse Source

Update GridHelper.html

gero3 11 years ago
parent
commit
e4143ed4a6
1 changed files with 16 additions and 5 deletions
  1. 16 5
      docs/api/extras/helpers/GridHelper.html

+ 16 - 5
docs/api/extras/helpers/GridHelper.html

@@ -9,7 +9,7 @@
 	<body>
 		<h1>[name]</h1>
 
-		<div class="desc">todo</div>
+		<div class="desc">The GridHelper is an object to define grids. Grids are two-dimensional arrays of lines.</div>
 
 
 		<h2>Example</h2>
@@ -27,13 +27,24 @@
 
 		<h2>Constructor</h2>
 
-		<h3>[name]([page:todo size], [page:todo step])</h3>
+		<h3>[name]([page:number size], [page:Number step])</h3>
 		<div>
-		size -- todo <br />
-		step -- todo
+		size -- The size of the grid <br />
+		step -- The size of the step btween 2 lines 
 		</div>
 		<div>
-		todo
+		Creates a new [name] of size 'size' and with steps of size 'step'.
+		</div>
+		
+		<h2>Methods</h2>
+
+		<h3>.setColors([page:number colorCenterLine], [page:Number colorGrid])</h3>
+		<div>
+		colorCenterLine -- The color of the centerline. This can be a [page:Color], a hexadecimal value and an CSS-Color name. <br />
+		colorGrid -- The color of the lines of the grid. This can be a [page:Color], a hexadecimal value and an CSS-Color name.
+		</div>
+		<div>
+		Updates the color of the grid lines.
 		</div>