Welcome to mirror list, hosted at ThFree Co, Russian Federation.

PixelSupport.cs « PixelEditor « UVtools.Core - github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a67a9e7b4c23b84fa7430f064c9ef83977d7cbce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 *                     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);
        }
    }
}