publiclab/image-sequencer

View on GitHub
src/modules/TextOverlay/info.json

Summary

Maintainability
Test Coverage
{
    "name": "text-overlay",
    "description": "Overlay text on image.",
    "requires": ["webgl", "browser"],
    "inputs": {
        "text": {
            "type": "string",
            "desc": "Enter the text to overlay.",
            "default": "Lorem ipsum"
        },
        "Custom-Coordinates": {
            "type": "coordinate-input",
            "desc": "Click to fill Coordinates"
        },
        "x": {
            "type": "integer",
            "desc": "Starting text horizontal position.",
            "default": "20"
        },
        "y": {
            "type": "integer",
            "desc": "Starting text vertical position.",
            "default": "20"
        },
        "font": {
            "type": "select",
            "desc": "Select the font style.",
            "default": "serif",
            "values": [
                "serif",
                "arial",
                "times",
                "courier",
                "Montserrat"
            ]
        },
        "color": {
            "type": "text",
            "desc": "Select the text color.",
            "default": "rgba(20,120,90,1)",
            "id": "color-picker"
        },
        "size": {
            "type" : "integer",
            "desc": "Enter the font size in pixels.",
            "default": "12"
        }
    }
}