ImageBackgroundTraits Class

This class represents traits that are related to image-based backgrounds.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceDrawableTraits
          Teigha.GraphicsInterfaceSubEntityTraits
            Teigha.GraphicsInterfaceNonEntityTraits
              Teigha.GraphicsInterfaceImageBackgroundTraits

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

The ImageBackgroundTraits type exposes the following members.

Constructors
  Name Description
Protected method ImageBackgroundTraits Default constructor for the ImageBackgroundTraits class.
Protected method ImageBackgroundTraits(IntPtr, Boolean) Creates an object based on the passed pointer and returns a handle to the created object.
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
(Inherited from NonEntityTraits)
Public property DrawFlags Property that represents the drawing flags.
(Inherited from NonEntityTraits)
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
(Inherited from NonEntityTraits)
Public property FitToScreen Property that indicates whether image-based background should be fit to screen.
Public property ImageFilename Property that represents the full path to the file from which this image-based background is created.
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.
(Inherited from NonEntityTraits)
Public property LineType Property that represents object identifier of current linetype.
(Inherited from NonEntityTraits)
Public property LineTypeScale Property that represents current linetype scale.
(Inherited from NonEntityTraits)
Public property LineWeight Property that represents current lineweight.
(Inherited from NonEntityTraits)
Public property MaintainAspectRatio Property that indicates whether to maintain the aspect ratio of a background image.
Public property Mapper Property that represents current material mapper.
(Inherited from NonEntityTraits)
Public property Material Property that represents object identifier of current material.
(Inherited from NonEntityTraits)
Public property PlotStyleDescriptor Property that represents PlotStyleDescriptor instance that encapsulates object identifier of a plot and plot style type.
(Inherited from NonEntityTraits)
Public property Sectionable Property that indicates whether sectioning is enabled.
(Inherited from NonEntityTraits)
Public property SelectionFlags Property that represents selection flags.
(Inherited from NonEntityTraits)
Public property SelectionOnlyGeometry Property that indicates whether only geometry is selected.
(Inherited from NonEntityTraits)
Public property ShadowFlags Property that represents shadow flags.
(Inherited from NonEntityTraits)
Public property Thickness Property that represents current thickness value.
(Inherited from NonEntityTraits)
Public property Transparency Property that represents current transparency.
(Inherited from NonEntityTraits)
Public property TrueColor Property that represents color as Colors::EntityColor instance.
(Inherited from NonEntityTraits)
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Public property UseTiling Property that indicates whether this image-based background is tiled.
Public property VisualStyle Property that represents object identifier of current visual style.
(Inherited from NonEntityTraits)
Public property XOffset Property that represents the offset of a background on the x-axis. Negative values mean that the background is offset in the opposite direction of the x-axis.
Public property XScale Property that represents the scale of a background on the x-axis. Values between 0 and 1 mean that the background is shrunk on the x-axis, values greater than 1 mean that the background is stretched, and negative values mean that the background is flipped on the x-axis.
Public property YOffset Property that represents the offset of a background on the y-axis. Negative values mean that the background is offset in the opposite direction of the y-axis.
Public property YScale Property that represents the scale of a background on the y-axis. Values between 0 and 1 mean that the background is shrunk on the y-axis, values greater than 1 mean that the background is stretched, and negative values mean that the background is flipped on the y-axis.
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.
(Inherited from NonEntityTraits)
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
(Inherited from NonEntityTraits)
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.
(Inherited from NonEntityTraits)
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.
(Inherited from NonEntityTraits)
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

©  Bricsys NV. All rights reserved.