-
Notifications
You must be signed in to change notification settings - Fork 10
DTL.Shape.IDrawer Interface.Draw
Gunji Ryota edited this page Jan 15, 2020
·
4 revisions
// (1)
void Draw<TMatrixVar>(TMatrixVar[,] matrix)
Matrixγ«ζη»γγγ
(1) θΏγε€γͺγ
ζγγͺγ
Border border = new Border(5);
var matrix = int[10, 10];
border.Create(matrix);
new OutputConsole().Draw(matrix);
5 5 5 5 5 5 5 5 5 5
5 0 0 0 0 0 0 0 0 5
5 0 0 0 0 0 0 0 0 5
5 0 0 0 0 0 0 0 0 5
5 0 0 0 0 0 0 0 0 5
5 0 0 0 0 0 0 0 0 5
5 0 0 0 0 0 0 0 0 5
5 0 0 0 0 0 0 0 0 5
5 0 0 0 0 0 0 0 0 5
5 5 5 5 5 5 5 5 5 5
Copyright (c) 2017-2019 Kasugaccho. Copyright (c) 2018-2019 As Project.
Distributed under the Boost Software License, Version 1.0.(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)