-
Notifications
You must be signed in to change notification settings - Fork 10
DTL.Shape.IDrawer Interface.Create
sitRyo edited this page Jan 15, 2020
·
2 revisions
// (1)
TMatrixVar[,] Create<TMatrixVar>(TMatrixVar[,] matrix)
Matrixγ«ζη»γγ¦MatrixγθΏγ
(1) MatrixγθΏγγ
ζγγͺγ
Border border = new Border(5);
var matrix = border.Create(new int[10, 10]);
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)