Пример #1
0
        public static Subfigure create_for_stencil_interface(Stencil_interface direction)
        {
            Subfigure subfigure = new Subfigure {
                id = Id_assigner.get_next_id()
            };

            return(subfigure);
        }
Пример #2
0
        public static Subfigure create_for_figure(IFigure figure)
        {
            Subfigure subfigure = new Subfigure {
                id = Id_assigner.get_next_id(),
                referenced_figure = figure
            };

            return(subfigure);
        }