RoughDraft.PSSVG.ps1
#requires -Module PSSVG $psChevronPolygonPoints = @( "40,20" "45,20" "60,50" "35,80" "32.5,80" "55,50" ) -join ' ' $psChevronPolygon = =<svg.polygon> -Points $psChevronPolygonPoints $psChevron = =<svg.symbol> -Id psChevron -Content @( $psChevronPolygon ) -ViewBox 100, 100 -PreserveAspectRatio $false $outputPath = Join-Path $psScriptRoot Assets $outputPath = Join-Path $outputPath RoughDraft.svg =<svg> @( $psChevron =<svg.use> -href '#psChevron' -X '10%' -Y '0%' -Height '100%' -Width '20%' -Stroke '#4488ff' =<svg.text> @( =<svg.tspan> "Rough" -FontFamily 'serif' -Rotate 1 =<svg.tspan> "Draft" -FontFamily 'serif' -Dx '-0.3em' -Rotate 1 -Dy '0.1em' ) -FontSize 36 -Fill '#4488ff' -X 50% -DominantBaseline 'middle' -TextAnchor 'middle' -Y 50% ) -ViewBox 300, 100 -OutputPath $outputPath |