StudioProcess / imagetool

1 stars 0 forks source link

Add capability for gradient orientation (border and sticker) #70

Closed martinleopold closed 8 years ago

martinleopold commented 8 years ago

Specify gradient rotation angle [0-360] degrees:

    "theme_color": {
      "accent": "red",
      "border1": "green",
      "border2": "blue",
      "borderAngle": 45,
      "sticker1": "cyan",
      "sticker2": "magenta",
      "stickerText": "yellow",
      "stickerAngle": 45
    }
martinleopold commented 8 years ago

Or specify gradient direction in From-To style using keywords like TopLeft, Top, TopRight, Right, BottomRight, Bottom, BottomLeft, Left and Center:

    "theme_color": {
      "accent": "red",
      "border1": "green",
      "border2": "blue",
      "borderDirection": "TopLeft-BottomRight",
      "sticker1": "cyan",
      "sticker2": "magenta",
      "stickerDirection": "TopRight-BottomLeft",
      "stickerText": "yellow"
    }