note description: "Closed figures (e.g. circles, polygons). % %Such figures may be filled with a fill pattern" legal: "See notice at end of class."; status: "See notice at end of class."; date: "$Date$"; revision: "$Revision$" deferred class CLOSED_FIG inherit FIGURE feature -- Access center: COORD_XY_FIG -- Center of the closed figure deferred end; interior: INTERIOR; -- Type of the interior -- Void if the figure shouldn't be filled path: PATH; -- Type of path -- Void if the path of the figure shouldn't be drawn feature -- Status setting set_origin_to_center -- Set origin to `center' deferred end; set_interior (an_interior: INTERIOR) -- Set `interior' to `an_interior'. do interior := an_interior; ensure interior = an_interior end; set_path (a_path: PATH) -- Set `path' to `a_path'. do path := a_path; ensure path = a_path end note copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class CLOSED_FIG