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 family
4+ . DESCRIPTION
5+ Gets the font family of the Turtle, if one has been set.
6+
7+ If no font family has been set, this returns nothing.
8+ . EXAMPLE
9+ turtle fontfamily 12 fontfamily
10+ . LINK
11+ https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/font-family
12+ #>
13+ $this.TextAttribute .' font-family'
Original file line number Diff line number Diff line change 1+ <#
2+ . SYNOPSIS
3+ Sets the font family
4+ . DESCRIPTION
5+ Sets the font family 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-family
12+ . EXAMPLE
13+ turtle fontfamily sans-serif fontfamily
14+ #>
15+ $this.TextAttribute = @ {' font-family' = $args }
You can’t perform that action at this time.
0 commit comments