Skip to content

Commit 0944b7b

Browse files
authored
Update README.md
1 parent 6c28d1a commit 0944b7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)