mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 15:23:44 +08:00
Additional fixes
This commit is contained in:
parent
e6a7ec3111
commit
6b64522e57
@ -1167,7 +1167,7 @@ export abstract class Node<Config extends NodeConfig = NodeConfig> {
|
|||||||
* // move node in x direction by 1px and y direction by 2px
|
* // move node in x direction by 1px and y direction by 2px
|
||||||
* node.move({
|
* node.move({
|
||||||
* x: 1,
|
* x: 1,
|
||||||
* y: 2)
|
* y: 2
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
move(change) {
|
move(change) {
|
||||||
@ -2568,7 +2568,7 @@ Factory.addComponentsGetterSetter(Node, 'scale', ['x', 'y']);
|
|||||||
*
|
*
|
||||||
* // set scale
|
* // set scale
|
||||||
* shape.scale({
|
* shape.scale({
|
||||||
* x: 2
|
* x: 2,
|
||||||
* y: 3
|
* y: 3
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
@ -2621,7 +2621,7 @@ Factory.addComponentsGetterSetter(Node, 'skew', ['x', 'y']);
|
|||||||
*
|
*
|
||||||
* // set skew
|
* // set skew
|
||||||
* node.skew({
|
* node.skew({
|
||||||
* x: 20
|
* x: 20,
|
||||||
* y: 10
|
* y: 10
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
@ -2673,7 +2673,7 @@ Factory.addComponentsGetterSetter(Node, 'offset', ['x', 'y']);
|
|||||||
*
|
*
|
||||||
* // set offset
|
* // set offset
|
||||||
* node.offset({
|
* node.offset({
|
||||||
* x: 20
|
* x: 20,
|
||||||
* y: 10
|
* y: 10
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user