mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-11 12:14:02 -04:00
Increase font size.
This commit is contained in:
parent
50e1509ab9
commit
597a59e90c
2 changed files with 3 additions and 3 deletions
examples
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
var text = new PointText(view.bounds.bottomRight - [30, 30]);
|
var text = new PointText(view.bounds.bottomRight - [30, 30]);
|
||||||
text.justification = 'right';
|
text.justification = 'right';
|
||||||
text.fontSize = 10;
|
text.fontSize = 12;
|
||||||
text.content = window.FileReader
|
text.content = window.FileReader
|
||||||
? 'drag & drop an image from your desktop to rasterize it'
|
? 'drag & drop an image from your desktop to rasterize it'
|
||||||
: 'to drag & drop images, please use Webkit, Firefox, Chrome or IE 10';
|
: 'to drag & drop images, please use Webkit, Firefox, Chrome or IE 10';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
var text = new PointText();
|
var text = new PointText();
|
||||||
text.content = i;
|
text.content = i;
|
||||||
text.justification = 'center';
|
text.justification = 'center';
|
||||||
text.fontSize = 9;
|
text.fontSize = 12;
|
||||||
segmentTexts.push(text);
|
segmentTexts.push(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
var handleInText = new PointText();
|
var handleInText = new PointText();
|
||||||
handleInText.content = 'handleIn';
|
handleInText.content = 'handleIn';
|
||||||
handleInText.justification = 'center';
|
handleInText.justification = 'center';
|
||||||
handleInText.fontSize = 9;
|
handleInText.fontSize = 12;
|
||||||
handleTexts.push(handleInText);
|
handleTexts.push(handleInText);
|
||||||
|
|
||||||
var handleOutText = handleInText.clone();
|
var handleOutText = handleInText.clone();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue