Layer

Layer class

Represents layer contained by the CAD drawing.

public sealed class Layer : IEquatable<Layer>

Constructors

Name Description
Layer() Initializes new instance of Layer class.
Layer(string) Initializes new instance of Layer class.
Layer(string, bool) Initializes new instance of Layer class.

Properties

Name Description
Name { get; set; } The name of the layer.
Visible { get; set; } The layer visibility indicator.

Methods

Name Description
Equals(Layer) Determines whether the current Layer is the same as specified Layer object.
override Equals(object) Determines whether the current Layer is the same as specified object.
override GetHashCode() Returns the hash code for the current Layer object.
override ToString() Returns a string that represents the current object.
operator == Determines whether two Layer objects are the same.
operator != Determines whether two Layer objects are not the same.

See Also