Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Turtle
0.1.2
Types/Turtle/Polygon.ps1
param
(
$Size
=
100
,
$SideCount
=
6
)
$null
=
foreach
(
$n
in
1
..
$SideCount
)
{
$this
.
Forward
(
$Size
)
$this
.
Rotate
(
360
/
$SideCount
)
}
return
$this