You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+45-15
Original file line number
Diff line number
Diff line change
@@ -15,32 +15,45 @@ def tick args
15
15
end
16
16
```
17
17
18
-
The library source file can be found at [https://github.com/DSchaedler/dinraal/blob/main/app/lib/dinraal.rb](https://github.com/DSchaedler/dinraal/blob/main/app/lib/dinraal.rb).
19
-
(app/lib/dinraal.rb)
18
+
The library source file can be found at [app/lib/dinraal.rb](https://github.com/DSchaedler/dinraal/blob/main/app/lib/dinraal.rb).
20
19
21
-
A more detailed sample app is at [https://github.com/DSchaedler/dinraal/blob/main/app/main.rb](https://github.com/DSchaedler/dinraal/blob/main/app/main.rb).
22
-
(app/main.rb)
20
+
A more detailed sample app is at [app/main.rb](https://github.com/DSchaedler/dinraal/blob/main/app/main.rb).
23
21
24
22
# Common Parameters
25
23
26
24
All methods in Dinraal accept their options in hash notation. This allows for extra or missing options to be ignored or inferred.
27
25
28
26
## Usually Required
29
-
x = (int, float) x position of point 1 on the triangle.
30
-
y = (int, float) y position of point 1 on the triangle.
31
-
x2 = (int, float) x position of point 2 on the triangle.
32
-
y2 = (int, float) y position of point 2 on the triangle.
33
-
x3 = (int, float) x position of point 3 on the triangle.
34
-
y3 = (int, float) y position of point 3 on the triangle.
27
+
```
28
+
x = (int, float) x position of point 1 on the triangle.
29
+
y = (int, float) y position of point 1 on the triangle.
30
+
x2 = (int, float) x position of point 2 on the triangle.
31
+
y2 = (int, float) y position of point 2 on the triangle.
32
+
x3 = (int, float) x position of point 3 on the triangle.
33
+
y3 = (int, float) y position of point 3 on the triangle.
34
+
```
35
35
36
36
## Usually Optional
37
-
r = (int, float) red portion of the triangle's color.
38
-
g = (int, float) green portion of the triangle's color.
39
-
b = (int, float) blue portion of the triangle's color.
40
-
a = (int, float) alpha portion of the triangle's color.
37
+
```
38
+
r = (int, float) red portion of the triangle's color.
39
+
g = (int, float) green portion of the triangle's color.
40
+
b = (int, float) blue portion of the triangle's color.
41
+
a = (int, float) alpha portion of the triangle's color.
0 commit comments