GraphicInteractiveBase ClassCognex VisionPro 9.22

Base implementation class that represents an interactive graphic.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision ChangedEventShareableBase
      Cognex.Vision GraphicInteractiveBase
        Cognex.Vision Circle
        Cognex.Vision CircularAnnulusSection
        Cognex.Vision CircularArc
        Cognex.Vision CompositeShape
        Cognex.Vision CoordinateAxes
        Cognex.Vision Ellipse
        Cognex.Vision EllipticalAnnulusSection
        Cognex.Vision EllipticalArc
        Cognex.Vision GraphicLabel
        Cognex.Vision.Implementation.Internal GeneralContour
        Cognex.Vision Line
        Cognex.Vision LineSegment
        Cognex.Vision MaskGraphic
        Cognex.Vision PointMarker
        Cognex.Vision Polygon
        Cognex.Vision Rectangle
        Cognex.Vision RectangleAffine

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public abstract class GraphicInteractiveBase : ChangedEventShareableBase, 
	IGraphicInteractive, IGraphic, IChangedEvent, IObject, IDiamondGraphicShape, 
	IGraphicParentChild

The GraphicInteractiveBase type exposes the following members.

Constructors

  NameDescription
Protected methodGraphicInteractiveBase
Top
Methods

  NameDescription
Public methodCopyBase

Copy a graphic and its derived parameters.

Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ChangedEventShareableBase GetHashCode .)
Public methodGetParentFromChildTransform

Gets the parent transform from the child transform.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Inherited from ShareableBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResumeAndRaiseChangedEvent

Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent.

(Inherited from ChangedEventShareableBase.)
Public methodSuspendChangedEvent

Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.

(Inherited from ChangedEventShareableBase.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two GraphicInteractiveBase objects.
Public operatorStatic memberInequality
Compares the inequality of two GraphicInteractiveBase objects.
Top
Fields

  NameDescription
Public fieldStatic memberSfChildren
Public fieldStatic memberSfColor
Public fieldStatic memberSfDragColor
Public fieldStatic memberSfDragLineStyle
Public fieldStatic memberSfDragLineWidthInScreenPixels
Public fieldStatic memberSfEnclosingRectangle
Public fieldStatic memberSfFillColor
Public fieldStatic memberSfGraphicDOFEnable
Public fieldStatic memberSfGraphicDOFEnableBase
Public fieldStatic memberSfInteractive
Public fieldStatic memberSfLineStyle
Public fieldStatic memberSfLineWidthInScreenPixels
Public fieldStatic memberSfMouseCursor
Public fieldStatic memberSfNext
Public fieldStatic memberSfParent
Public fieldStatic memberSfSelected
Public fieldStatic memberSfSelectedColor
Public fieldStatic memberSfSelectedLineStyle
Public fieldStatic memberSfSelectedLineWidthInScreenPixels
Public fieldStatic memberSfSelectedSpaceName
Public fieldStatic memberSfTipText
Public fieldStatic memberSfVisible
Top
Properties

  NameDescription
Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Inherited from ChangedEventShareableBase.)
Public propertyChildren

Children of this graphic.

Public propertyColor
Get

Color of this graphic. Can be any OLE_COLOR.

Public propertyDragColor
Get

Color of this graphic when dragged.

Public propertyDragLineStyle
Get

Line style of the graphic when dragged.

Public propertyDragLineWidthInScreenPixels
Get

Line width of this graphic when dragged.

Public propertyFillColor
Get

The fill color of this graphic.

Public propertyGraphicDOFEnableBase
Get

Interactive Degree of freedom for a graphic object. Allows access to each graphic's GraphicDOFEnable property without knowing the specific graphic type.

Public propertyHandle (Overrides ChangedEventShareableBase Handle.)
Public propertyInteractive
Get

Interactive property allow this graphic object to be selected. See GraphicDOFEnable for information on governing interactive manipulation of an object.

Public propertyLineStyle
Get

Line style of this graphic.

Public propertyLineWidthInScreenPixels
Get

Line width (in screen pixels) of this graphic.

Public propertyMouseCursor
Get

Mouse cursor to be displayed when the mouse is over the graphic. The cursor will be visible only if the graphic is interactive.

Public propertyParent
Get

Parent of this graphic.

Public propertySelected
Get

True when the shape is selected in a display.

Public propertySelectedColor
Get

Color of this graphic when selected.

Public propertySelectedLineStyle
Get

Line style of this graphic when selected.

Public propertySelectedLineWidthInScreenPixels
Get

Line width of this graphic when selected.

Public propertySelectedSpaceName
Public propertyTipText
Get

Text to describe this graphic in a tool tip. Newline characters can be used to create multi-line tip text.

Public propertyVisible
Get

Visible property of this graphic.

Top
Events

  NameDescription
Public eventChanged

The actual event.

(Inherited from ChangedEventShareableBase.)
Public eventDragging

Raised when an interactive graphic is being dragged.

Public eventDraggingStopped

Raised after the drag operation of an interactive graphic is complete.

Top
Remarks

The base implementation class of an interactive graphic. For example, Circle, RectangleAffine.

See Also