PrimitiveProps editing via context menu was added
This commit is contained in:
13
StructureHelperCommon/Models/Shapes/CircleShape.cs
Normal file
13
StructureHelperCommon/Models/Shapes/CircleShape.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Models.Shapes
|
||||
{
|
||||
public class CircleShape : ICircleShape
|
||||
{
|
||||
public double Diameter { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,6 @@ namespace StructureHelperCommon.Services.ColorServices
|
||||
{
|
||||
public static Color GetRandomColor()
|
||||
{
|
||||
Thread.Sleep(100);
|
||||
var randomR = new Random(new Random((int)DateTime.Now.Ticks % 1000).Next(50)).Next(0, 255);
|
||||
var randomG = new Random(new Random((int)DateTime.Now.Ticks % 200).Next(100, 200)).Next(0, 255);
|
||||
var randomB = new Random(new Random((int)DateTime.Now.Ticks % 50).Next(500, 1000)).Next(0, 255);
|
||||
|
||||
Reference in New Issue
Block a user