xarc
draw a part of an ellipse
Syntax
xarc(x,y,w,h,a1,a2) h = xarc(...)
Arguments
- x,y,w,h
four real values defining a rectangle.
- a1,a2
real values defining a sector.
- h
This optional output contains a handle to the created Arc entity. Use
h
to modify its properties. For a list of properties, see arc_properties.
Description
xarc
draws a part of an ellipse contained in the rectangle
(x,y,w,h)
(upper-left point, width, height), and in the sector
defined by
the angle alpha1
and the angle alpha1+alpha2
.
alpha1
and alpha2
are
given respectively by a1/64
degrees and a2/64
degrees.
This function uses the current graphics color and user coordinates.
Examples
See also
History
Version | Description |
2025.0.0 | Function returns the created handle(s). |
Report an issue | ||
<< Segments properties | geometric_shapes | xarcs >> |