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

Resize Shape

This action allows the user to resize 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> ResizeShape(1: string shapeUid, 2: Position newPosition, 3: Size newSize)


Arguments

  1. shapeUid- Uid of the plugin to be moved.
  2. newPosition -Position in the form of (X,Y) coordinates of the canvas.
  3. newSize -Desired size of the shape.


Result

“Resize Successful”.

Error

Error message sent out by the server application.

resources/tools-software/sigmastudiov2/usingsigmastudio/scripting/resizeshape.1593063332.txt.gz · Last modified: 25 Jun 2020 07:35 by Krithika Manchale