Browse Source

Harmonize API docs

Slightly more content and also the description now always ends with a full stop.
pull/27/head
Marc Jansen 6 years ago committed by GitHub
parent
commit
9858e668b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/leonsans.js

8
src/leonsans.js

@ -334,7 +334,7 @@ export default class LeonSans extends Dispatcher { @@ -334,7 +334,7 @@ export default class LeonSans extends Dispatcher {
}
/**
* Update paths for pattern
* Update paths for pattern, pass `true` to force execution.
* @param {boolean} force - Force execution
*/
updatePatternPaths(force) {
@ -347,7 +347,7 @@ export default class LeonSans extends Dispatcher { @@ -347,7 +347,7 @@ export default class LeonSans extends Dispatcher {
}
/**
* Update paths for wave effect
* Update paths for wave effect, pass `true` to force execution.
* @param {boolean} force - Force execution
*/
updateWavePaths(force) {
@ -401,7 +401,7 @@ export default class LeonSans extends Dispatcher { @@ -401,7 +401,7 @@ export default class LeonSans extends Dispatcher {
}
/**
* Draw text in WebGL with PIXI.js
* Draw text in WebGL with PIXI.js.
* @param {PIXI.Graphics} graphics
*/
drawPixi(graphics) {
@ -525,4 +525,4 @@ export default class LeonSans extends Dispatcher { @@ -525,4 +525,4 @@ export default class LeonSans extends Dispatcher {
ctx.rect(this.model.rect.x, this.model.rect.y, this.model.rect.w, this.model.rect.h);
ctx.stroke();
}
}
}

Loading…
Cancel
Save