Add inclined section visualization
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Infrastructures.Interfaces
|
||||
{
|
||||
public interface IObjectConvertStrategy<T, V>
|
||||
{
|
||||
T Convert(V source);
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,7 @@ namespace StructureHelperCommon.Models.VisualProperties
|
||||
/// <inheritdoc/>
|
||||
public class PrimitiveVisualProperty : IPrimitiveVisualProperty
|
||||
{
|
||||
private double opacity = 0;
|
||||
private double opacity = 1;
|
||||
|
||||
/// <inheritdoc/>
|
||||
public Guid Id { get; }
|
||||
@@ -25,7 +25,7 @@ namespace StructureHelperCommon.Models.VisualProperties
|
||||
{
|
||||
if (value < 0)
|
||||
{
|
||||
opacity = 1;
|
||||
opacity = 0;
|
||||
return;
|
||||
}
|
||||
if (value > 1)
|
||||
|
||||
Reference in New Issue
Block a user