Files
UVtools/UVtools.Core/PixelEditor/PixelSupport.cs
T
Tiago Conceição 78e35204e6 v0.6.3.1
* (Add) Preview: Allow import images from disk and replace preview image
* (Add) Issue and Pixel Editor ListView can now reorder columns
* (Add) Pixel Editor: Button "Clear" remove all the modifications
* (Add) Pixel Editor: Button "Apply All" to apply the modifications
* (Add) Pixel Editor: Double click items will track and position over the draw
* (Fix) Pixel Editor: Label "Operations" was not reset to 0 after apply the modifications
* (Fix) Pixel Editor: Button "Remove" tooltip
* (Fix) Pixel Editor: Drawing - Bursh Area - px to px²
2020-07-20 04:17:03 +01:00

29 lines
948 B
C#

/*
* GNU AFFERO GENERAL PUBLIC LICENSE
* Version 3, 19 November 2007
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
using System.Drawing;
namespace UVtools.Core.PixelEditor
{
public class PixelSupport : PixelOperation
{
public byte TipDiameter { get; }
public byte PillarDiameter { get; }
public byte BaseDiameter { get; }
public PixelSupport(uint layerIndex, Point location, byte tipDiameter, byte pillarDiameter, byte baseDiameter) : base(PixelOperationType.Supports, layerIndex, location)
{
TipDiameter = tipDiameter;
PillarDiameter = pillarDiameter;
BaseDiameter = baseDiameter;
Size = new Size(TipDiameter, TipDiameter);
}
}
}