blendMode(obj, blendMode)

Sets the Effects blendMode property of an object.

Type: function

Parameter(s):

  • obj {Object}:

    The object to set blendMode of.

  • blendMode {Number}:

    The blendMode must be one of the InDesign BlendMode enum values:

    • BlendMode.NORMAL
    • BlendMode.MULTIPLY
    • BlendMode.SCREEN
    • BlendMode.OVERLAY
    • BlendMode.SOFT_LIGHT
    • BlendMode.HARD_LIGHT
    • BlendMode.COLOR_DODGE
    • BlendMode.COLOR_BURN
    • BlendMode.DARKEN
    • BlendMode.LIGHTEN
    • BlendMode.DIFFERENCE
    • BlendMode.EXCLUSION
    • BlendMode.HUE
    • BlendMode.SATURATION
    • BlendMode.COLOR
    • BlendMode.LUMINOSITY