File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ <#
2+ . SYNOPSIS
3+ Gets the font style
4+ . DESCRIPTION
5+ Gets the font style of the Turtle, if one has been set.
6+
7+ If no font style has been set, this returns nothing.
8+ . EXAMPLE
9+ turtle fontstyle italic fontstyle
10+ . LINK
11+ https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/font-style
12+ #>
13+ $this.TextAttribute .' font-style'
Original file line number Diff line number Diff line change 1+ <#
2+ . SYNOPSIS
3+ Sets the font style
4+ . DESCRIPTION
5+ Sets the font style of the Turtle.
6+
7+ Any input is acceptable, but it may not be valid.
8+
9+ Invalid input will be ignored.
10+ . LINK
11+ https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/font-style
12+ . EXAMPLE
13+ turtle fontstyle italic fontstyle
14+ #>
15+ $this.TextAttribute = @ {' font-style' = $args }
You can’t perform that action at this time.
0 commit comments