Skip to content
Chatresh edited this page Apr 22, 2022 · 1 revision

Shape

Usage

Used to define and create new shapes. This includes:

  • Rectangle
  • Circle
  • Ellipse
  • Polygon
  • Polyline
  • Path
  • Image
  • Text
  • TextPath

Functions

Function Usage
setBG(background color) Used to set the background color of a shape.
setBorder( border color, border size) Used to set the color and size of the border of the shape.
animate(Name, Attribute Name, Value, Time, Repeat, Begin(Optional)) This function is used to animate different properties of a shape.
move(name, x, y, Time, Repeat, Begin(Optional)) This function is used to move the object to a particular coordinate.
stroke(Name, Time, Repeat, Begin(Optional)) This function is used to outline the shape.
set(Attribute Name, Value, Begin(Optional)) This function is used to set the value of a property of a shape.

Clone this wiki locally