"angle1, angle2"

Set the angles of an arc.

Synopsis

setValue (string shape, "angle1", float start);

getValue (string shape, "angle1", float start);

shape.angle1(float start);

setValue (string shape, "angle2", float stop);

getValue (string shape, "angle2", float stop);

shape.angle2(float stop);

Parameters

Parameter Description
shape Name of the object
start, stop Start and stop angles

Description

This attribute is used to set the angles of an arc.

Example

Sets the angles of an arc.

main()
{
  float start = 30;
  float stop = 40;
  ARC1.angle1(start);
  ARC1.angle2(stop);
}
Figure 1. Arc with the Start Angle 30 and Stop Angle 40

Or

main()
{
  float start = 30;
  float stop = 40;
  string s = "ARC1";
  setValue(s,"angle1",start);
  setValue(s,"angle2",stop);
}

Assignment

Arc