Skip to content

Commit c98bdf6

Browse files
feat: Turtle.get/set_SVGAttribute ( Fixes #219 )
1 parent 9c12806 commit c98bdf6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Types/Turtle/set_SVGAttribute.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
param(
22
[Collections.IDictionary]
3-
$PathAttribute = [Ordered]@{}
3+
$SVGAttribute = [Ordered]@{}
44
)
55

6-
if (-not $this.'.PathAttribute') {
7-
$this | Add-Member -MemberType NoteProperty -Name '.PathAttribute' -Value ([Ordered]@{}) -Force
6+
if (-not $this.'.SVGAttribute') {
7+
$this | Add-Member -MemberType NoteProperty -Name '.SVGAttribute' -Value ([Ordered]@{}) -Force
88
}
9-
foreach ($key in $PathAttribute.Keys) {
10-
$this.'.PathAttribute'[$key] = $PathAttribute[$key]
9+
foreach ($key in $SVGAttribute.Keys) {
10+
$this.'.SVGAttribute'[$key] = $SVGAttribute[$key]
1111
}

0 commit comments

Comments
 (0)