File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6312,6 +6312,43 @@ $this.TextAttribute = @{'font-style'= $args }
63126312
63136313 </SetScriptBlock >
63146314 </ScriptProperty >
6315+ <ScriptProperty >
6316+ <Name >FontVariant</Name >
6317+ <GetScriptBlock >
6318+ < #
6319+ .SYNOPSIS
6320+ Gets the font variant
6321+ .DESCRIPTION
6322+ Gets the font variant of the Turtle, if one has been set.
6323+
6324+ If no font variant has been set, this returns nothing.
6325+ .EXAMPLE
6326+ turtle fontvariant small-caps fontvariant
6327+ .LINK
6328+ https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/font-variant
6329+ #>
6330+ $this.TextAttribute.'font-variant'
6331+
6332+ </GetScriptBlock >
6333+ <SetScriptBlock >
6334+ < #
6335+ .SYNOPSIS
6336+ Sets the font variant
6337+ .DESCRIPTION
6338+ Sets the font variant of the Turtle.
6339+
6340+ Any input is acceptable, but it may not be valid.
6341+
6342+ Invalid input will be ignored.
6343+ .LINK
6344+ https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/font-variant
6345+ .EXAMPLE
6346+ turtle fontvariant small-caps fontvariant
6347+ #>
6348+ $this.TextAttribute = @{'font-variant'= $args }
6349+
6350+ </SetScriptBlock >
6351+ </ScriptProperty >
63156352 <ScriptProperty >
63166353 <Name >Heading</Name >
63176354 <GetScriptBlock >
You can’t perform that action at this time.
0 commit comments