Drawable Class

This class wraps the OdGiDrawable which is the base class for all graphical objects, both transient and persistent. This interface must be implemented by all graphical objects. Such objects are capable of vectorizing themselves within the ODA Platform.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceDrawable
          Teigha.DatabaseServicesDBObject

Namespace: Teigha.GraphicsInterface
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public abstract class Drawable : RXObject

The Drawable type exposes the following members.

Constructors
  Name Description
Protected method Drawable Default constructor for the Drawable class.
Protected method Drawable(IntPtr, Boolean) Constructor for the Drawable 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 Bounds This property represents bounds of the drawable, if available. This property is null if the drawable does not have bounds or the bounds cannot be computed.
Public property DrawableType This property represents type of the current drawable.
Public property Id This property represents object identifier that corresponds to this drawable (if the drawable is persistent).
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property IsPersistent This property indicates whether the Drawable object is database resident (belongs to an Model that requires the use of open and close functions).
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
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)
Public method RegenSupportFlags Retrieves a set of flags that represents the multi-threaded rendering support of this entity. The default is to return the multi-threaded rendering advanced support flags of the entity's registered RxClass.
Public method SetAttributes Sets the vectorization attributes of this object, and returns its attribute flags.
Protected method SubRegenSupportFlags  
Protected method SubSetAttributes Sets the values of the instance's sub-entity traits.
Protected method SubViewportDraw Draws a graphical instance representation that is dependent on viewport context.
Protected method SubViewportDrawLogicalFlags  
Protected method SubWorldDraw Draws a graphical instance representation that is independent of any viewport context.
Public method ToString
(Inherited from Object)
Public method ViewportDraw Creates a viewport-dependent geometric representation of this object.
Public method ViewportDrawLogicalFlags Retrieves the setAttributes flags for the current viewportDraw.
Public method WorldDraw Creates a viewport-independent geometric representation of this 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

©  Bricsys NV. All rights reserved.