Arc Items |
||||
|
Items of type arc appear on the display as arc-shaped regions. An arc is a section of an oval delimited by two angles (specified by the #:start and #:extent options) and displayed in one of several ways (specified by the #:style option). Arcs are created with widget commands of the following form: (#<widget> 'create 'arc x1 y1 x2 y2 ?option value option value ...?) (#<widget> 'create 'arc coordList ?option value option value ...?) The arguments x1, y1, x2, and y2 or coordList give the coordinates of two diagonally opposite corners of a rectangular region enclosing the oval that defines the arc. After the coordinates there may be any number of option-value pairs, each of which sets one of the configuration options for the item. These same option-value pairs may be used in itemconfigure widget commands to change the item's configuration. The following standard options are supported by arcs: #:dash #:activedash #:disableddash #:dashoffset #:fill #:activefill #:disabledfill #:offset #:outline #:activeoutline #:disabledoutline #:outlinestipple #:activeoutlinestipple #:disabledoutlinestipple #:stipple #:activestipple #:disabledstipple #:state #:tags #:width #:activewidth #:disabledwidth The following extra options are supported for arcs:
|