Wiki

This version is outdated by a newer approved version.DiffThis version (10 Feb 2021 11:47) was approved by Krithika Manchale.

This is an old revision of the document!


Click here to return back

Rotate Shape

This action allows the user to rotate a specified shape on the parent canvas or schematic page according to the angle given. Return type is a success/failure message in the form of list of strings. The function call takes in 3 arguments.


API

list<string> RotateShape(1: string shapeUid, 2: Position newPosition, 3: double newAngle)


Arguments

  1. shapeUid- Uid of the plugin to be moved.
  2. newPosition -Position in the form of (X,Y) coordinates of the canvas.
  3. newAngle -Angle of rotation in degrees.


Result

“Rotate Successful”.

Error

Error message sent out by the server application.

resources/tools-software/sigmastudiov2/usingsigmastudio/scripting/rotateshape.1593063210.txt.gz · Last modified: 25 Jun 2020 07:33 by Krithika Manchale