Scilab Data type

arc_properties - description of the Arc entity properties

### Description

The Arc entity is a leaf of the graphics entities hierarchy. This entity defines the parameters for ellipses and part of ellipses and the filled ones.

  visible: This field contains the `visible` property value for the entity . It should be `"on"` or `"off"` . If `"on"` the arc is drawn, If `"off"` the arc is not displayed on the screen.
  data: This property is to return the coordinates of the upper-left point, the width and the height of the inclosing rectangle as well as the boundary angles of the sector. It is the matrix `[xleft,yup,[zup],width,height,a1,a2]` where `a1/64` and `a2/64` are the sector boundary angles in degree.
  line_style: The `line_style` property value should be an integer in [0 9]. 0 stands for solid the other value stands for a selection of dashes.
  thickness: This field contains the line `thickness` property. Its value should be positive integer.
  foreground: This field contains the default `foreground` property value used to draw or to fill arc. It should be a color index (relative to the current colormap).
  fill_mode: If `fill_mode` property value is `"on"` , the rectangle is filled with the foreground color, if its value is `"off"` only the shape of the arc is drawn using the foreground color.
  clip_state: This field contains the `clip_state` property value for the arc. Clip_state value should be :
    `"off"` this means that the arc is not clipped
    `"clipgrf"` this means that the arc is clipped outside the Axes box.
    `"on"` this means that the arc is clipped outside the arc given by property clip_box.
  clip_box: This field is to determinate the `clip_box` property. By Default its value should be an empty matrix if clip_state is "off". Other cases the vector `[x,y,w,h]` (upper-left point width height) defines the portions of the arc to display, however `clip_state` property value will be changed.
  parent: This field contains the handle of the parent. The parent of the arc entity should be of the type `"Axes"` or `"Agregation"` .

### Examples

       set("figure_style","new") //create a figure
       a=get("current_axes");//get the handle of the newly created axes
       a.data_bounds=[-2,-2;2,2];

       xarc(-1.5,1.5,3,3,0,360*64)

       arc=get("hdl"); //get handle on current entity (here the arc entity)
       arc.fill_mode="on";
       arc.foreground=5;
       arc.data(:,[3 6])=[2 270*64];
       xfarc(-.5,1,.4,.6,0,360*64);
       arc.visible="off";

### See Also

`set` , `get` , `delete` , `xarc` , `xarcs` , `xfarc` , `xfarcs` , `graphics_entities` ,

### Author

Djalel ABDEMOUCHE