mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-28 22:08:54 -04:00
Fix #fontWeight examples and documentation.
This commit is contained in:
parent
81fe98d1bb
commit
5197dd81c5
4 changed files with 5 additions and 6 deletions
|
@ -38,7 +38,7 @@
|
|||
* text.content = 'Hello world.';
|
||||
* text.style = {
|
||||
* fontFamily: 'Courier New',
|
||||
* fontWeight: 'Bold',
|
||||
* fontWeight: 'bold',
|
||||
* fontSize: 20,
|
||||
* fillColor: 'red',
|
||||
* justification: 'center'
|
||||
|
@ -544,7 +544,7 @@ var Style = Base.extend(new function() {
|
|||
*
|
||||
* @name Style#fontWeight
|
||||
* @default 'normal'
|
||||
* @type String
|
||||
* @type String|Number
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -50,7 +50,7 @@ var PointText = TextItem.extend(/** @lends PointText# */{
|
|||
* content: 'The contents of the point text',
|
||||
* fillColor: 'black',
|
||||
* fontFamily: 'Courier New',
|
||||
* fontWeight: 'Bold',
|
||||
* fontWeight: 'bold',
|
||||
* fontSize: 25
|
||||
* });
|
||||
*/
|
||||
|
|
|
@ -114,7 +114,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{
|
|||
*
|
||||
* @name Style#fontWeight
|
||||
* @default 'normal'
|
||||
* @type String
|
||||
* @type String|Number
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue