Show / Hide Table of Contents

Class CadLayer

Inheritance
System.Object
CadLayer
Implements
ICadLayer
Namespace: Experior.Core.CAD
Assembly: Experior.Core.dll
Syntax
public class CadLayer : ViewModelBase, ICadLayer

Constructors

CadLayer(CadLayerInfo)

Declaration
public CadLayer(CadLayerInfo info)
Parameters
Type Name Description
CadLayerInfo info

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
public uint Id { get; }
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
Type Name Description
ICadEntity entity

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

ICadLayer
Back to top Generated by DocFX