Skip to content

Commit 9dab220

Browse files
committed
docs: Styled changelog and fixed typos
1 parent cc77f50 commit 9dab220

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

CHANGELOG.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2929

3030
## 2.1.0
3131
### Added
32-
- Canvas#{toBlob,toBlobAsync} for browser support.
33-
- Canvas.fromCanvas() for browser support (this is a must in browsers as you can't construct HTMLCanvasElement).
32+
- `Canvas#{toBlob,toBlobAsync}` for browser support.
33+
- `Canvas.fromCanvas()` for browser support (this is a must in browsers as you can't construct `HTMLCanvasElement`).
3434
- Examples for usage in web.
3535

3636
### Fixed
@@ -43,11 +43,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4343

4444
### Fixed
4545
- Fixed `addCircularImage()` adding the circular clip in the wrong center.
46-
- Fixed text not rendering in [email protected].
47-
- Typings
46+
- Fixed text not rendering in `[email protected]`.
47+
- Typings.
4848

4949
### Removed
50-
- `addBevelImage` has been removed. As per the deprecation added over 2 months ago, it has been renamed to `addBeveledImage`
50+
- `addBevelImage` has been removed. As per the deprecation added over 2 months ago, it has been renamed to `addBeveledImage`.
5151

5252
## 1.1.2
5353
### Fixed
@@ -92,8 +92,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9292
## 0.3.0
9393
### Added
9494
- **Typings**. This package will also work in TypeScript.
95-
- `createBeveledPath()` same usage as `createBeveledClip()`, but does not create clips (so you can use shadows and fill to colourize it).
96-
- `createRoundPath()` same usage as `createRoundClip()`, but does not create clips (so you can use shadows and fill to colourize it).
95+
- `createBeveledPath()` same usage as `createBeveledClip()`, but does not create clips (so you can use shadows and fill to colorize it).
96+
- `createRoundPath()` same usage as `createRoundClip()`, but does not create clips (so you can use shadows and fill to colorize it).
9797
- `clip()` (how come this was not implemented?).
9898

9999
### Changed
@@ -110,10 +110,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
110110
### Added
111111
- `changeCanvasSize()` to change the canvas' width/height.
112112
- `changeCanvasWidth()` to change the canvas' width.
113-
- `changeCanvasHeigth()` to change the canvas' heigth.
113+
- `changeCanvasHeigth()` to change the canvas' height.
114114

115115
### Removed
116-
- `registerTextFont()` as canvas-constructor relies on Canvas 1.6.6, this method is useless.
116+
- `registerTextFont()` as canvas-constructor relies on `canvas@1.6.6`, this method is useless.
117117

118118
## 0.1.6
119119
### Added
@@ -144,9 +144,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
144144
- `fill()` To fill the current/given path.
145145
- `stroke()` To stroke the current/given path.
146146
- `addStrokeText()` To add stroked text.
147-
- `measureText()` To measure in pixels a text. Be **careful**, if you do not
148-
provide a callback (second argument), this method will return an Integer value
149-
instead of being chainable.
147+
- `measureText()` To measure in pixels a text. Be **careful**, if you do not provide a callback (second argument), this method will return an Integer value instead of being chainable.
150148
- `setTextBaseline()` To set the text's baseline.
151149
- `setShadowOffsetX()` To set the shadow offset for the axis X.
152150
- `setShadowOffsetY()` To set the shadow offset for the axis Y.
@@ -174,7 +172,7 @@ identical to `addRect()`).
174172

175173
## 0.1.0
176174
### Added
177-
- Added `addFont()` method for retrocompatibility with old versions of Canvas.
175+
- Added `addFont()` method for retro-compatibility with old versions of Canvas.
178176
(Thanks to [York](https://github.com/YorkAARGH) in
179177
[PR#1](https://github.com/kyranet/canvasConstructor/pull/1))
180178

0 commit comments

Comments
 (0)