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.
Turtle.get/set_Text
1 parent 50c909d commit 5b92712Copy full SHA for 5b92712
Types/Turtle/get_Text.ps1
@@ -0,0 +1,8 @@
1
+<#
2
+.SYNOPSIS
3
+ Gets the Turtle text
4
+.DESCRIPTION
5
+ Gets the text associated with the Turtle, if any exists.
6
+
7
+#>
8
+return $this.'.Text'
Types/Turtle/set_Text.ps1
@@ -0,0 +1,16 @@
+ Sets the Turtle text
+ Sets the text displayed along the turtle path.
+ Once this property is set, a text element will be displayed along with the turtle path.
9
+ To display only text, please also set the path's stroke to `transparent`
10
11
+param(
12
+[string[]]
13
+$Text
14
+)
15
16
+$this | Add-Member NoteProperty '.Text' -Force ($text -join ' ')
0 commit comments