Merged PR 330: Add DimensionStyle + Refactor dimensionLayer + Add width and dashArray to style
Add DimensionStyle + Refactor dimensionLayer + Add width and dashArray to style Related work items: #7977
This commit is contained in:
parent
c6c4bd1e32
commit
338a2c157c
14 changed files with 475 additions and 324 deletions
|
@ -1,28 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SVGLDLibs.Models
|
||||
{
|
||||
|
||||
[DataContract]
|
||||
public class DimensionOptions
|
||||
{
|
||||
|
||||
/** positions of the dimension */
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public Position[] positions;
|
||||
|
||||
/** color */
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string color;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SVGLDLibs.Models
|
||||
{
|
||||
|
||||
[DataContract]
|
||||
public class DimensionOptions
|
||||
{
|
||||
|
||||
/** positions of the dimension */
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public Position[] positions;
|
||||
|
||||
/** color */
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public DimensionStyle style;
|
||||
}
|
||||
}
|
||||
|
|
27
csharp/SVGLDLibs/SVGLDLibs/Models/DimensionStyle.cs
Normal file
27
csharp/SVGLDLibs/SVGLDLibs/Models/DimensionStyle.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SVGLDLibs.Models
|
||||
{
|
||||
|
||||
[DataContract]
|
||||
public class DimensionStyle
|
||||
{
|
||||
/** color */
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string color;
|
||||
|
||||
/** width */
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public double width;
|
||||
|
||||
/** color */
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string dashArray;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue