.. default-domain:: http .. highlight:: json Arc === .. _http-Drawing.Arc: .. rubric:: Arc An arc of a circle. Created using :http:post:`/drawing/add-arc`. A ``Arc`` object is passed and returned as its identifier, a number. A path that acts on an object takes it as ``(id)``. .. http:get:: /drawing/arc/(id)/center Position of the center of the arc. :param id: The identifier of the :ref:`Arc ` object. :resjson tuple value: .. http:put:: /drawing/arc/(id)/center Position of the center of the arc. :param id: The identifier of the :ref:`Arc ` object. :reqjson tuple value: The new value. .. http:get:: /drawing/arc/(id)/normal Normal of the plane of the arc. :param id: The identifier of the :ref:`Arc ` object. :resjson tuple value: .. http:put:: /drawing/arc/(id)/normal Normal of the plane of the arc. :param id: The identifier of the :ref:`Arc ` object. :reqjson tuple value: The new value. .. http:get:: /drawing/arc/(id)/start-direction Direction from the center to the start of the arc. :param id: The identifier of the :ref:`Arc ` object. :resjson tuple value: .. http:put:: /drawing/arc/(id)/start-direction Direction from the center to the start of the arc. :param id: The identifier of the :ref:`Arc ` object. :reqjson tuple value: The new value. .. http:get:: /drawing/arc/(id)/angle Angle of the arc, in radians. :param id: The identifier of the :ref:`Arc ` object. :resjson double value: .. http:put:: /drawing/arc/(id)/angle Angle of the arc, in radians. :param id: The identifier of the :ref:`Arc ` object. :reqjson double value: The new value. .. http:get:: /drawing/arc/(id)/radius Radius of the arc, in meters. :param id: The identifier of the :ref:`Arc ` object. :resjson double value: .. http:put:: /drawing/arc/(id)/radius Radius of the arc, in meters. :param id: The identifier of the :ref:`Arc ` object. :reqjson double value: The new value. .. http:get:: /drawing/arc/(id)/reference-frame Reference frame for the positions of the object. :param id: The identifier of the :ref:`Arc ` object. :resjson SpaceCenter.ReferenceFrame value: .. http:put:: /drawing/arc/(id)/reference-frame Reference frame for the positions of the object. :param id: The identifier of the :ref:`Arc ` object. :reqjson SpaceCenter.ReferenceFrame value: The new value. .. http:get:: /drawing/arc/(id)/visible Whether the object is visible. :param id: The identifier of the :ref:`Arc ` object. :resjson bool value: .. http:put:: /drawing/arc/(id)/visible Whether the object is visible. :param id: The identifier of the :ref:`Arc ` object. :reqjson bool value: The new value. .. http:get:: /drawing/arc/(id)/color The color of the path. .. note:: For a path drawn with more than one color, this is the color at its start. :param id: The identifier of the :ref:`Arc ` object. :resjson StdLib.ColorRGB value: .. http:put:: /drawing/arc/(id)/color The color of the path. .. note:: For a path drawn with more than one color, this is the color at its start. :param id: The identifier of the :ref:`Arc ` object. :reqjson StdLib.ColorRGB value: The new value. .. http:get:: /drawing/arc/(id)/colors The colors of the path, blended evenly from its start to its end. .. note:: Throws an exception if the list is empty or holds more than 8 colors. :param id: The identifier of the :ref:`Arc ` object. :resjson list value: .. http:put:: /drawing/arc/(id)/colors The colors of the path, blended evenly from its start to its end. .. note:: Throws an exception if the list is empty or holds more than 8 colors. :param id: The identifier of the :ref:`Arc ` object. :reqjson list value: The new value. .. http:get:: /drawing/arc/(id)/thickness The thickness of the path. :param id: The identifier of the :ref:`Arc ` object. :resjson float value: .. http:put:: /drawing/arc/(id)/thickness The thickness of the path. :param id: The identifier of the :ref:`Arc ` object. :reqjson float value: The new value. .. http:get:: /drawing/arc/(id)/start-arrow Whether an arrow head is drawn at the start. :param id: The identifier of the :ref:`Arc ` object. :resjson bool value: .. http:put:: /drawing/arc/(id)/start-arrow Whether an arrow head is drawn at the start. :param id: The identifier of the :ref:`Arc ` object. :reqjson bool value: The new value. .. http:get:: /drawing/arc/(id)/end-arrow Whether an arrow head is drawn at the end. :param id: The identifier of the :ref:`Arc ` object. :resjson bool value: .. http:put:: /drawing/arc/(id)/end-arrow Whether an arrow head is drawn at the end. :param id: The identifier of the :ref:`Arc ` object. :reqjson bool value: The new value. .. http:get:: /drawing/arc/(id)/arrow-size The size of the arrow heads, relative to the thickness. :param id: The identifier of the :ref:`Arc ` object. :resjson float value: .. http:put:: /drawing/arc/(id)/arrow-size The size of the arrow heads, relative to the thickness. :param id: The identifier of the :ref:`Arc ` object. :reqjson float value: The new value. .. http:get:: /drawing/arc/(id)/dashed Whether the path is drawn as a dashed line. :param id: The identifier of the :ref:`Arc ` object. :resjson bool value: .. http:put:: /drawing/arc/(id)/dashed Whether the path is drawn as a dashed line. :param id: The identifier of the :ref:`Arc ` object. :reqjson bool value: The new value. .. http:get:: /drawing/arc/(id)/label Text drawn halfway along the path, facing the camera. Empty for no label. :param id: The identifier of the :ref:`Arc ` object. :resjson string value: .. http:put:: /drawing/arc/(id)/label Text drawn halfway along the path, facing the camera. Empty for no label. :param id: The identifier of the :ref:`Arc ` object. :reqjson string value: The new value. .. http:get:: /drawing/arc/(id)/material Material used to render the object. Creates the material from a shader with the given name. :param id: The identifier of the :ref:`Arc ` object. :resjson string value: .. http:put:: /drawing/arc/(id)/material Material used to render the object. Creates the material from a shader with the given name. :param id: The identifier of the :ref:`Arc ` object. :reqjson string value: The new value. .. http:post:: /drawing/arc/(id)/remove Remove the object. :param id: The identifier of the :ref:`Arc ` object.