mirror of
https://github.com/konvajs/konva.git
synced 2025-09-24 05:03:42 +08:00
updated Label docs. removed old integration test files
This commit is contained in:
@@ -17,20 +17,6 @@
|
|||||||
* @constructor
|
* @constructor
|
||||||
* @memberof Kinetic
|
* @memberof Kinetic
|
||||||
* @param {Object} config
|
* @param {Object} config
|
||||||
* @param {Object} config.text Text config
|
|
||||||
* @param {String} [config.text.fontFamily] default is Calibri
|
|
||||||
* @param {Number} [config.text.fontSize] in pixels. Default is 12
|
|
||||||
* @param {String} [config.text.fontStyle] can be normal, bold, or italic. Default is normal
|
|
||||||
* @param {String} config.text.text
|
|
||||||
* @param {String} [config.text.align] can be left, center, or right
|
|
||||||
* @param {Number} [config.text.padding]
|
|
||||||
* @param {Number} [config.text.lineHeight] default is 1
|
|
||||||
* @param {Object} [config.tag] Tag config
|
|
||||||
* @param {String} [config.tag.pointerDirection] can be up, right, down, left, or none; the default
|
|
||||||
* is none. When a pointer is present, the positioning of the label is relative to the tip of the pointer.
|
|
||||||
* @param {Number} [config.tag.pointerWidth]
|
|
||||||
* @param {Number} [config.tag.pointerHeight]
|
|
||||||
* @param {Number} [config.tag.cornerRadius]
|
|
||||||
* @@nodeParams
|
* @@nodeParams
|
||||||
* @example
|
* @example
|
||||||
* // create label
|
* // create label
|
||||||
|
@@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE HTML>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<style>
|
|
||||||
/* overwrite CSS */
|
|
||||||
|
|
||||||
</style>
|
|
||||||
<link rel="stylesheet" type="text/css"href="../base.css">
|
|
||||||
<script src="../../dist/kinetic-v0.0.0.js"></script>
|
|
||||||
<script src="../assets/dataUrls.js"></script>
|
|
||||||
<script src="../js/Test.js"></script>
|
|
||||||
<script src="../js/integrationTests.js"></script>
|
|
||||||
<script>
|
|
||||||
window.onload = function() {
|
|
||||||
var test = new Test();
|
|
||||||
test.run();
|
|
||||||
|
|
||||||
document.getElementsByTagName('body')[0].addEventListener('mousemove', function(evt) {
|
|
||||||
//console.log(evt.clientX + ',' + evt.clientY);
|
|
||||||
}, false);
|
|
||||||
};
|
|
||||||
|
|
||||||
</script>
|
|
||||||
</head>
|
|
||||||
<body></body>
|
|
||||||
</html>
|
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user