mirror of
https://github.com/konvajs/konva.git
synced 2026-01-02 20:42:42 +08:00
updated docs
This commit is contained in:
@@ -832,6 +832,7 @@ Test.prototype.tests = {
|
||||
textFill: '#888',
|
||||
textStroke: '#333',
|
||||
padding: 10,
|
||||
fontStyle: 'normal',
|
||||
//draggable: true,
|
||||
align: 'center',
|
||||
verticalAlign: 'middle'
|
||||
@@ -866,7 +867,7 @@ Test.prototype.tests = {
|
||||
text.setTextFill('blue');
|
||||
text.setTextStroke('red');
|
||||
text.setTextStrokeWidth(10);
|
||||
|
||||
|
||||
test(text.getFontFamily() === 'Arial', 'font family should be Arial');
|
||||
test(text.getFontSize() === 30, 'text size should be 30');
|
||||
test(text.getFontStyle() == 'italic', 'font style should be italic');
|
||||
|
||||
Reference in New Issue
Block a user