File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,19 +17,19 @@ This function returns an object with some methods to control.
17
17
- ` src ` : an optional filename or pathname of an image for background
18
18
19
19
### Main methods
20
- #### 1) resizing and background
20
+ #### 1) Resizing and background
21
21
- ` resize(w,h,src) ` ; it sets canvas size and background image
22
22
- ` setDivisions(x,y) ` ; it sets horizontal and vertical divisions
23
23
- ` w ` and ` h ` : new values for canvas width and canvas height
24
24
- ` src ` : filename or pathname of an image; 'none' is default value
25
25
- ` x ` and ` y ` : numbers for horizontal and vertical divisions
26
26
27
- #### 2) colors
27
+ #### 2) Colors
28
28
- ` setColor(rgb,alpha) ` ; it sets rgb color and alpha value
29
29
- ` rgb ` : rgb color value
30
30
- ` alpha ` : an optional value between 0.0 (fully transparent) and 1.0 (fully opaque)
31
31
32
- #### 3) focus area
32
+ #### 3) Focus area
33
33
- ` xy(x,y) ` ; it puts focus on a area that is specified using integer coordinates
34
34
- ` x ` and ` y ` : positive integer indices for horizontal and vertical divisions
35
35
You can’t perform that action at this time.
0 commit comments