NonEntityTraits Class

This class implements empty interfaces to allow non-entity drawables to provide their unique properties through DrawableTraits.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceDrawableTraits
          Teigha.GraphicsInterfaceSubEntityTraits
            Teigha.GraphicsInterfaceNonEntityTraits
              More

Namespace: Teigha.GraphicsInterface
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public class NonEntityTraits : SubEntityTraits

The NonEntityTraits type exposes the following members.

Constructors
  Name Description
Protected method NonEntityTraits Constructor for the NonEntityTraits class.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property Color Property that represents the current color index (ACI). Color must be one of the following: Name Value Description kACIbyBlock 0 ByBlock. kACIforeground 7 Foreground color. kACIbyLayer 256 ByLayer. kACIRed 1 Red. kACIYellow 2 Yellow. kACIGreen 3 Green. kACICyan 4 Cyan. kACIBlue 5 Blue. kACIMagenta 6 Magenta. .. 8-255 Defined by AcadPalette.h
(Overrides SubEntityTraitsColor)
Public property DrawFlags Property that represents the drawing flags.
(Overrides SubEntityTraitsDrawFlags)
Public property FillType Property that represents current fill type. This property can be one of the following: Name Value Description kOdGiFillAlways 1 Fill closed graphic primitives. kOdGiFillNever 2 Don't fill closed graphic primitives. Closed graphic primitives consist of the following: * arcs with (ArcType == ArcSector) || (ArcType == ArcChord) * circles * meshes * polygons * shells
(Overrides SubEntityTraitsFillType)
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property Layer Property that represents object identifier of current layer.
(Overrides SubEntityTraitsLayer)
Public property LineType Property that represents object identifier of current linetype.
(Overrides SubEntityTraitsLineType)
Public property LineTypeScale Property that represents current linetype scale.
(Overrides SubEntityTraitsLineTypeScale)
Public property LineWeight Property that represents current lineweight.
(Overrides SubEntityTraitsLineWeight)
Public property Mapper Property that represents current material mapper.
(Overrides SubEntityTraitsMapper)
Public property Material Property that represents object identifier of current material.
(Overrides SubEntityTraitsMaterial)
Public property PlotStyleDescriptor Property that represents PlotStyleDescriptor instance that encapsulates object identifier of a plot and plot style type.
(Overrides SubEntityTraitsPlotStyleDescriptor)
Public property Sectionable Property that indicates whether sectioning is enabled.
(Overrides SubEntityTraitsSectionable)
Public property SelectionFlags Property that represents selection flags.
(Overrides SubEntityTraitsSelectionFlags)
Public property SelectionOnlyGeometry Property that indicates whether only geometry is selected.
(Overrides SubEntityTraitsSelectionOnlyGeometry)
Public property ShadowFlags Property that represents shadow flags.
(Overrides SubEntityTraitsShadowFlags)
Public property Thickness Property that represents current thickness value.
(Overrides SubEntityTraitsThickness)
Public property Transparency Property that represents current transparency.
(Overrides SubEntityTraitsTransparency)
Public property TrueColor Property that represents color as Colors::EntityColor instance.
(Overrides SubEntityTraitsTrueColor)
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Public property VisualStyle Property that represents object identifier of current visual style.
(Overrides SubEntityTraitsVisualStyle)
Top
Methods
  Name Description
Public method AddLight Drawables that emit light can add one or more lights to the model. Through this interface, light position, intensity and other properties are sent to the graphics system. Default implementation of this method throws the NotSupportedException exception.
(Overrides DrawableTraitsAddLight(ObjectId))
Public method Clone Creates a *clone* of this object, and returns a pointer to the *clone*.
(Inherited from RXObject)
Public method CompareTo Allows classes to compare class objects.
(Inherited from RXObject)
Public method CopyFrom Copies the contents of the specified object into this object.
(Inherited from RXObject)
Public method CreateObjRef
(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 Checks objects for equality.
(Inherited from DisposableWrapper)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMetaObject
(Inherited from RXObject)
Public method GetRXClass Gets a class describing instance dynamically associated with this object as the OdRxClass object.
(Inherited from RXObject)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Protected method MemberwiseClone
(Inherited from Object)
Protected method MemberwiseClone(Boolean)
(Inherited from MarshalByRefObject)
Public method QueryX Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class.
(Inherited from RXObject)
Protected method SetLayerFlags
(Overrides DrawableTraitsSetLayerFlags(DrawableTraitsLayerFlags))
Public method SetSelectionMarker Sets the SubEntityTraits object to use the specified graphics marker for all graphics primitives drawn until the next call to this function, or the end of WorldDraw() or ViewportDraw() execution. Default implementation of this method throws the NotSupportedException exception.
(Overrides SubEntityTraitsSetSelectionMarker(IntPtr))
Public method SetupForEntity Initializes all subentity traits and drawable traits from the entity. This can be more convenient than setting each property individually. Default implementation of this method throws the NotSupportedException exception.
(Overrides DrawableTraitsSetupForEntity(Entity))
Public method ToString
(Inherited from Object)
Public method X Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class, or throws an exception if it cannot.
(Inherited from RXObject)
Top
See Also
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceDrawableTraits
          Teigha.GraphicsInterfaceSubEntityTraits
            Teigha.GraphicsInterfaceNonEntityTraits
              Teigha.GraphicsInterfaceGradientBackgroundTraits
              Teigha.GraphicsInterfaceGroundPlaneBackgroundTraits
              Teigha.GraphicsInterfaceImageBackgroundTraits
              Teigha.GraphicsInterfaceLightTraits
              Teigha.GraphicsInterfaceRenderSettingsTraits

©  Bricsys NV. All rights reserved.