NgrixLibs.NetGDI 1.0.2

dotnet add package NgrixLibs.NetGDI --version 1.0.2
NuGet\Install-Package NgrixLibs.NetGDI -Version 1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NgrixLibs.NetGDI" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NgrixLibs.NetGDI --version 1.0.2
#r "nuget: NgrixLibs.NetGDI, 1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NgrixLibs.NetGDI as a Cake Addin
#addin nuget:?package=NgrixLibs.NetGDI&version=1.0.2

// Install NgrixLibs.NetGDI as a Cake Tool
#tool nuget:?package=NgrixLibs.NetGDI&version=1.0.2

NetGDI (.NET Framework GDI32.DLL)

Website Github Old Nuget Package

Introduction

NetGDI is a library for creating graphical user interface effects using GDI32.DLL on the .NET Framework. This library enables you to create various visual effects on the screen and add dynamism to graphical user interfaces.

Features

Inverted Colors: Apply an inverted colors effect to the screen.
Blur Effect: Blur the screen.
Rounded Tunnel Effect: Create a rounded tunnel effect on the screen.
Hatch Brush: Apply a hatch brush to the screen.
Pattern Brush: Apply a pattern brush to the screen.
Color Filters: Apply color filters to the screen.
Melting Screen: Simulate the melting effect on the screen.

Usage

using NetGDI;
using System.Threading;

namespace NetGDI_Test
{
    internal class Program
    {
        static void Main(string[] args)
        {
            // NetGDI settings
            NGDISettings.InvertedColors.Enabled = true;
            NGDISettings.BlurEffect.Enabled = true;
            NGDISettings.BlurEffect.Interval = 10;
            NGDISettings.RoundedTunnelEffect.Enabled = true;
            NGDISettings.HatchBrush.Enabled = false;
            NGDISettings.PatternBrush.Enabled = false;
            NGDISettings.ColorFilters.Enabled = true;
            NGDISettings.MeltingScreen.Enabled = true;
            
            // Create and start thread for GDIEffects
            Thread effectsThread = new Thread(() =>
            {
                GDIEffects netGDI = new GDIEffects();
            });
            effectsThread.Start();

            // Your subsequent code here
            // For example:
            // MessageBox.Show("Are you still using it?");
        }
    }
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Versions

1.0.1: Added Static NGDISettings module with extra 2 settings (interval, enabled)
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 131 4/26/2024

1.0.2