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.
1717- ` src ` : an optional filename or pathname of an image for background
1818
1919### Main methods
20- #### 1) resizing and background
20+ #### 1) Resizing and background
2121- ` resize(w,h,src) ` ; it sets canvas size and background image
2222- ` setDivisions(x,y) ` ; it sets horizontal and vertical divisions
2323 - ` w ` and ` h ` : new values for canvas width and canvas height
2424 - ` src ` : filename or pathname of an image; 'none' is default value
2525 - ` x ` and ` y ` : numbers for horizontal and vertical divisions
2626
27- #### 2) colors
27+ #### 2) Colors
2828- ` setColor(rgb,alpha) ` ; it sets rgb color and alpha value
2929 - ` rgb ` : rgb color value
3030 - ` alpha ` : an optional value between 0.0 (fully transparent) and 1.0 (fully opaque)
3131
32- #### 3) focus area
32+ #### 3) Focus area
3333- ` xy(x,y) ` ; it puts focus on a area that is specified using integer coordinates
3434 - ` x ` and ` y ` : positive integer indices for horizontal and vertical divisions
3535
You can’t perform that action at this time.
0 commit comments