MaskGraphic MethodsCognex VisionPro 9.20

The MaskGraphic type exposes the following members.

Methods

  NameDescription
Public methodCopyBase

Copy a graphic and its derived parameters.

(Overrides GraphicInteractiveBase CopyBase(CopyShapeConstants).)
Public methodEquals
Compares the equality of this object with another.
(Overrides GraphicInteractiveBase Equals(Object).)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides GraphicInteractiveBase GetHashCode .)
Public methodGetMaskColor

Gets the color and opacity associated with the specified mask pixel value.

Public methodGetParentFromChildTransform

Gets the parent transform from the child transform.

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

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
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.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
Public methodSetMaskAlpha

Set just the Alpha component of the color associated with the specified mask value. The Blue, Green, and Red components of that color entry are unchanged.

Public methodSetMaskBlueGreenRed(Byte, Color32)

Copy the Blue, Green, and Red components of the supplied color argument into the color associated with the specified mask value. The Alpha component of that entry is unchanged.

Public methodSetMaskBlueGreenRed(Byte, Byte, Byte, Byte)

Set just the Blue, Green, and Red components of the color associated with the specified mask value. The Alpha component of that entry is unchanged.

Public methodSetMaskColor

Sets the color and opacity associated with the specified mask pixel value.

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.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
See Also