Skip to content

Commit 2b9f7a5

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Gradient.GradientTypePattern ( Fixes #15 )
1 parent c9511c2 commit 2b9f7a5

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Gradient.types.ps1xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!-- Generated with EZOut 2.0.6: Install-Module EZOut or https://github.com/StartAutomating/EZOut -->
2+
<Types>
3+
<Type>
4+
<Name>Gradient</Name>
5+
<Members>
6+
<ScriptProperty>
7+
<Name>GradientTypePattern</Name>
8+
<GetScriptBlock>
9+
&lt;#
10+
.SYNOPSIS
11+
Gets the gradient type pattern
12+
.DESCRIPTION
13+
Gets the regular expression used to identify a gradient type
14+
.EXAMPLE
15+
Get-Gradiant '#4488ff' ,'#224488' |
16+
Select-Object -Expand GradientTypePattern
17+
#&gt;
18+
'(?:repeating-)?(?&gt;conic|linear|radial)(?:-gradient)?$'
19+
</GetScriptBlock>
20+
</ScriptProperty>
21+
</Members>
22+
</Type>
23+
</Types>

0 commit comments

Comments
 (0)