SubEntityTraits Class

This class provides an interface to the graphical attributes of graphic primitives.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceDrawableTraits
          Teigha.GraphicsInterfaceSubEntityTraits
            Teigha.GraphicsInterfaceNonEntityTraits
            Teigha.GraphicsInterfaceViewportTraits
            Teigha.GraphicsInterfaceVisualStyleTraits

Namespace: Teigha.GraphicsInterface
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public abstract class SubEntityTraits : DrawableTraits

The SubEntityTraits type exposes the following members.

Constructors
  Name Description
Protected method SubEntityTraits Initializes a new instance of the SubEntityTraits class
Protected method SubEntityTraits(IntPtr, Boolean) Initializes a new instance of the SubEntityTraits class
Top
Properties
  Name Description
Public property AutoDelete
(Inherited from DisposableWrapper)
Public property Color Property that represents a subentity color.
Public property DrawFlags Property that represents drawing flags.
Public property FillType Property that represents the current fill type for graphic primitives.
Public property IsDisposed
(Inherited from DisposableWrapper)
Public property Layer Property that represents a persistent object identifier of a layer.
Public property LineType Property that represents the persistent object identifier of a linetype.
Public property LineTypeScale Property that represents the scale of a linetype.
Public property LineWeight Property that represents a lineweight.
Public property Mapper Property that represents a material mapper.
Public property Material Property that represents the persistent object identifier of a material.
Public property PlotStyleDescriptor Property that represents a plot style descriptor.
Public property Sectionable Property that indicates whether this entity is sectionable.
Public property SelectionFlags Property that represents section flags.
Public property SelectionOnlyGeometry Property that indicates whether only geometry is selected.
Public property ShadowFlags Property that represents shadow flags.
Public property Thickness Property that represents thickness.
Public property Transparency Property that represents the transparency of a sub-entity.
Public property TrueColor Property that represents the true color of a subentity.
Public property UnmanagedObject
(Inherited from DisposableWrapper)
Public property VisualStyle Property that represents the persistent object identifier of a visual style.
Top
Methods
  Name Description
Public method AddLight Drawables that emit light are able to append one or more "lights" to the model. The default implementation of this method ignores the passed light. Must be implemented in derived classes.
(Inherited from DrawableTraits)
Public method Clone
(Inherited from RXObject)
Public method CompareTo
(Inherited from RXObject)
Public method CopyFrom
(Inherited from RXObject)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Protected method DeleteUnmanagedObject
(Inherited from RXObject)
Public method Dispose
(Inherited from DisposableWrapper)
Protected method Dispose(Boolean)
(Inherited from DisposableWrapper)
Public method Equals
(Inherited from DisposableWrapper)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetHashCode
(Inherited from DisposableWrapper)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method GetRXClass
(Inherited from RXObject)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Public method QueryX
(Inherited from RXObject)
Protected method SetLayerFlags
(Inherited from DrawableTraits)
Public method SetSelectionMarker Sets the current selection marker.
Public method SetupForEntity Initializes the traits that are set with the SubEntityTraits and DrawableTraits methods for the specified entity.
(Inherited from DrawableTraits)
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method X
(Inherited from RXObject)
Top
Remarks
This object is available during calls to subWorldDraw and subViewportDraw, so that drawable classes can control attributes during the vectorization process. Graphical attribute settings are used for all graphical primitives until they are changed.
See Also

©  Bricsys NV. All rights reserved.