indexing description: "Figures which define a line width"; status: "See notice at end of class"; date: "$Date$"; revision: "$Revision$" class LINE_WIDTH feature -- Access line_width: INTEGER; -- width of line of current figure feature -- Element change set_line_width (a_line_width: INTEGER) is -- Set `line_width' of current figure to `a_line_width'. require a_line_width_positive: a_line_width >= 0 do line_width := a_line_width; ensure line_width = a_line_width end; invariant line_width >= 0 end -- class LINE_WIDTH --|---------------------------------------------------------------- --| EiffelVision: library of reusable components for ISE Eiffel. --| Copyright (C) 1986-2001 Interactive Software Engineering Inc. --| All rights reserved. Duplication and distribution prohibited. --| May be used only with ISE Eiffel, under terms of user license. --| Contact ISE for any other use. --| --| Interactive Software Engineering Inc. --| ISE Building --| 360 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Electronic mail --| Customer support: http://support.eiffel.com> --| For latest info see award-winning pages: http://www.eiffel.com --|----------------------------------------------------------------