This method will set the visibility of the shape fill.
the id of the shapeFrame that needs to get updated.
Whether the shape fill is visible.
This method will set the visibility of the shape stroke.
the id of the shapeFrame that needs to get updated.
Whether the shape stroke is visible.
This method will set the shape fill color of a specified shape frame.
the id of the shapeFrame that needs to get updated.
the new shape fill color that you want to set to the shapeFrame.
This method will set the flag to change the way the rectangle shape corners will be changed: all at once or separately.
the id of the shapeFrame that needs to get updated.
the new flag that you want to set to the shapeFrame.
This method will set the radius for all corners of the rectangle and polygon shapes
the id of the shapeFrame that needs to get updated.
A radius to update all corners at once;
This method will set the radius for the bottom left corner of the rectangle shape
the id of the shapeFrame that needs to get updated.
A radius to update the bottom left corner;
This method will set the radius for the bottom right corner of the rectangle shape
the id of the shapeFrame that needs to get updated.
A radius to update the bottom right corner;
This method will set the radius for the top left corner of the rectangle shape
the id of the shapeFrame that needs to get updated.
A radius to update the top left corner;
This method will set the radius for the top right corner of the rectangle shape
the id of the shapeFrame that needs to get updated.
A radius to update the top right corner;
This method will set the shape stroke color of a specified shape frame.
the id of the shapeFrame that needs to get updated.
the new shape stroke color that you want to set to the shapeFrame.
This method will set the shape stroke weight of a specified shape frame.
the id of the shapeFrame that needs to get updated.
the new shape stroke weight that you want to set to the shapeFrame.
Generated using TypeDoc
The ShapeController is responsible for all communication regarding Shapes. Methods inside this controller can be called by
window.SDK.shape.{method-name}