Function createInterfaceBase64Image

  • Creates an image component for UI object, using Base64 string. Crops the image to the specified size.

    Parameters

    • base64: string

      Base64 string containing the image.

    • imageWidth: number

      Width of the image.

    • imageHeight: number

      Height of the image.

    • paddingLeft: number

      Size of padding on the left.

    • paddingRight: number

      Size of padding on the right.

    • paddingTop: number

      Size of padding on the top.

    • paddingBottom: number

      Size of padding on the bottom.

    Returns UIBase64ImageComponent

    Created interface component.