|
|
| Layer (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
| | Layer () |
| | Constructor.
|
| |
| | Layer (cadex.UTF16String theName) |
| | Constructor.
|
| |
|
void | SetName (cadex.UTF16String theName) |
| | Sets a layer name.
|
| |
|
cadex.UTF16String | Name () |
| | Returns a layer name.
|
| |
|
void | SetUuid (System.Guid theUuid) |
| |
|
System.Guid | Uuid () |
| |
| bool | IsVisible () |
| | Returns true if the drawing layer is visible.
|
| |
|
void | SetIsVisible (bool theIsVisible) |
| | Sets Layer visibility status.
|
| |
| void | Add (cadex.Drawing.Element theElement) |
| | Adds element to the drawing layer.
|
| |
| bool | Remove (cadex.Drawing.Element theElement) |
| | Removes element from the drawing layer.
|
| |
|
bool | Contains (cadex.Drawing.Element theElement) |
| | Returns true if element has already been added to the drawing layer.
|
| |
| void | Accept (cadex.Drawing.ElementVisitor theVisitor) |
| | Accepts the element visitor.
|
| |
|
| BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
void | Dispose () |
| |
|
bool | IsNull () |
| |
|
ulong | Id () |
| | Return unique identifier of public object.
|
| |
|
bool | IsEqual (cadex.BaseObject theObj) |
| |
|
override int | GetHashCode () |
| |
|
override bool | Equals (System.Object o) |
| |
Provides logical grouping of Element objects.
Layers are commonly used to group objects in the drawing by function (e.g. walls, furniture, etc.), but in principle they can represent any type of virtual grouping. All objects in a layer share appearance, can be shown and hidden together. A drawing element can only belong to one layer.
The drawing layer holds an IsVisible() attribute, which is true by default.