We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
New-Turtle
1 parent e15234a commit 4f1ce88Copy full SHA for 4f1ce88
Commands/New-Turtle.ps1
@@ -2,12 +2,19 @@ function New-Turtle
2
{
3
<#
4
.SYNOPSIS
5
- Creates a new turtle object.
+ Creates a new turtle.
6
.DESCRIPTION
7
- This function initializes a new turtle object with default properties.
+ Creates a brand new turtle.
8
+ .NOTES
9
+ You can also create an empty turtle simply by calling `Get-Turtle` with no parameters.
10
.EXAMPLE
11
$turtle = New-Turtle
12
$turtle.Square(100).Pattern.Save("$pwd/SquarePattern.svg")
13
+ .EXAMPLE
14
+ $newTurtle = New-Turtle
15
+ $newTurtle.Polygon(42, 6)
16
17
+ $NewTurtle = New-Turtle
18
#>
19
param()
20
[PSCustomObject]@{PSTypeName='Turtle'}
0 commit comments