Class CadLayer
Inheritance
System.Object
CadLayer
Assembly: Experior.Core.dll
Syntax
public class CadLayer : ViewModelBase, ICadLayer
Constructors
CadLayer(CadLayerInfo)
Declaration
public CadLayer(CadLayerInfo info)
Parameters
CadLayer(String)
Declaration
public CadLayer(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
CadLayer(String, IReadOnlyList<ICadEntity>)
Declaration
public CadLayer(string name, IReadOnlyList<ICadEntity> entities)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Collections.Generic.IReadOnlyList<ICadEntity> |
entities |
|
CadLayer(String, Int32)
Declaration
public CadLayer(string name, int capacity)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Int32 |
capacity |
|
Properties
Color
Declaration
public Color Color { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
Entities
Declaration
public IReadOnlyList<ICadEntity> Entities { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<ICadEntity> |
|
Id
Declaration
Property Value
Type |
Description |
System.UInt32 |
|
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Visible
Declaration
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Add(ICadEntity)
Declaration
public void Add(ICadEntity entity)
Parameters
AddRange(IReadOnlyList<ICadEntity>)
Declaration
public void AddRange(IReadOnlyList<ICadEntity> entities)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IReadOnlyList<ICadEntity> |
entities |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Implements