Skip to content

Commit 6143abd

Browse files
author
James Brundage
committed
feat: Turtle.get_AnimateMotion ( Fixes PoshWeb#42 )
1 parent 2f32dc8 commit 6143abd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Types/Turtle/get_AnimateMotion.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@("<animateMotion dur='$(
2+
if ($this.AnimateMotionDuration) {
3+
$this.AnimateMotionDuration
4+
} else {
5+
"$(($this.Points.Length / 2 / 10))s"
6+
}
7+
)' repeatCount='indefinite' path='$($this.PathData)' />") -as [xml]

0 commit comments

Comments
 (0)