mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 13:06:24 +00:00
Changed color to be an immutable value-type
This commit is contained in:
1 parent
b9e443b3b6
commit
50cfd296be
16 files changed
+1014
-410
No files matched your search
@@ -72,7 +72,7 @@ namespace RGB.NET.Decorators.Brush
|
||||
#region Methods
|
||||
|
||||
/// <inheritdoc />
|
||||
public void ManipulateColor(Rectangle rectangle, BrushRenderTarget renderTarget, ref Color color) => color.APercent = _currentValue;
|
||||
public Color ManipulateColor(Rectangle rectangle, BrushRenderTarget renderTarget, Color color) => color.SetAPercent(_currentValue);
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Update(double deltaTime)
|
||||
|
||||
Reference in new issue
Block a user