Skip to content

Commit a806802

Browse files
author
James Brundage
committed
release: Turtle 0.1.3
Updating Manifest and CHANGELOG
2 parents 3138e49 + 554d0e4 commit a806802

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Turtle.types.ps1xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,6 +1488,28 @@ if (-not $this.'.Fill') {
14881488
}
14891489
</SetScriptBlock>
14901490
</ScriptProperty>
1491+
<ScriptProperty>
1492+
<Name>FillRule</Name>
1493+
<GetScriptBlock>
1494+
if (-not $this.'.PathAttribute') {
1495+
$this | Add-Member -MemberType NoteProperty -Name '.PathAttribute' -Value ([Ordered]@{}) -Force
1496+
}
1497+
if ($this.'.PathAttribute'.'fill-rule') {
1498+
return $this.'.PathAttribute'.'fill-rule'
1499+
} else {
1500+
'nonzero'
1501+
}
1502+
</GetScriptBlock>
1503+
<SetScriptBlock>
1504+
param(
1505+
[ValidateSet('nonzero', 'evenodd')]
1506+
[string]
1507+
$fillRule = 'nonzero'
1508+
)
1509+
$this.PathAttribute = [Ordered]@{'fill-rule' = $fillRule.ToLower()}
1510+
1511+
</SetScriptBlock>
1512+
</ScriptProperty>
14911513
<ScriptProperty>
14921514
<Name>Heading</Name>
14931515
<GetScriptBlock>

0 commit comments

Comments
 (0)