PoshCode Archive  Hex Artifact Content

Artifact a9855f80869cd79dfe1f1db50297e3aab72b329ffef72555cedfe261ea1f24f4:

  • File WPK_TunnelGradient.ps1 — part of check-in [df93d0dd33] at 2018-06-10 13:13:56 on branch trunk — I noticed that WPF has LinearGradient and RadialGradient. Wanted something more… square in size. First tried to use something that allowed me to build brush easy, but it was hard to change it into something portable. So I just used New-Object and now you can use it in WPK, PowerBoots or Show-UI, whichever you prefer. ;) This script is building actual function and shows some demo usage + load required assemblies and makes sure we are in STA (some controls barfed at me when I tried to leave it -MTA). I only hope it’s not done already… ;) Corners are rounded, so that it looks more soft. (user: BartekB size: 6968)

A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.