Action
    Preparing search index...

    Defines the types of images that can be shown for an insight.

    2.5

    Hierarchy (View Summary)

    • Enum
      • InsightImageType
    Index

    Properties

    ActionIcon: InsightImageType

    Shows the icon of the action script or action mod executed by this insight.

    2.5

    Shows a binary preview image (e.g., PNG, JPEG) provided as raw byte data. This is useful for showing pre-rendered images from mod files without executing actions.

    2.5

    CustomIcon: InsightImageType

    Shows a custom icon.

    2.5

    InsightIcon: InsightImageType

    Shows the icon of the insight script or insight mod that generated this insight.

    2.5

    LivePreview: InsightImageType

    Shows the actual resulting page or image from the action. Note that this is significantly more expensive to compute, as it requires executing the action script and rendering the resulting page or image, but can provide a more accurate preview of what the user can expect when executing the action.

    2.5

    No image will be shown for this insight.

    2.5

    Methods

    • Casts this object to the specified type. Throws error on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns T1

    • Determines whether the specified object is equal to the current object.

      Parameters

      • obj: any

        The object to compare with the current object.

      Returns boolean

      true if the specified object is equal to the current object; otherwise, false.

    • Serves as the default hash function.

      Returns number

      A hash code for the current object.

    • Determines whether one or more bit fields are set in the current instance.

      Parameters

      • flag: Enum

        An enumeration value.

      Returns boolean

      true if the bit field or bit fields that are set in flag are also set in the current instance; otherwise, false.

    • Returns a string that represents the current object.

      Returns string

      A string that represents the current object.

    • Casts this object to the specified type. Returns null on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns T1 | null

    • Determines whether the specified object instances are considered equal.

      Parameters

      • objA: any

        The first object to compare.

      • objB: any

        The second object to compare.

      Returns boolean

      true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

    Default capability

    • Perform And operation on enum values.

      Parameters

      • ...rest: Enum[]

        The other enum values.

      Returns this

      The result.

      2.0

    • Perform Or operation on enum values.

      Parameters

      • ...rest: Enum[]

        The other enum values.

      Returns this

      The result.

      2.0

    • Perform Xor operation on enum values.

      Parameters

      • ...rest: Enum[]

        The other enum values.

      Returns this

      The result.

      2.0