CanonMRTestBuilderImageUsageType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# CanonMRTestBuilderImageUsageType Enumeration

NXOpen.Display.CanonMRTestBuilder.ImageUsageType is an alias for NXOpen.Display.CanonMRTestBuilderImageUsageType

class `NXOpen.Display.``CanonMRTestBuilderImageUsageType`

  Bases: `object`

  Indicates how the image identified by ImageFile is specified to CGP.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  NotSet | The image is ignored, so neither background nor foreground is displayed.
  Dual | The image is specified as a dual image that is displayed as both the background and foreground.
  Background3Only | The image is specified as a BGR or RGB background image only, so no foreground is displayed.
  Background4Only | The image is specified as a BGRA or RGBA background image only, so no foreground is displayed.
  Background3AndForeground | The image is specified separately as a BGR or RGB background image and a foreground image.
  Background4AndForeground | The image is specified separately as a BGRA or RGBA background image and a foreground image.
  ForegroundOnly | The image is specified as a foreground image only, so no background is displayed.

  `ValueOf`()

    Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

    Signature `ValueOf(value)`

    Parameters: | value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
    Return type: | Enum Member type.

    New in version NX9.0.1.

    License requirements: None.