Scale Dependent Effect

An object describing the effect to apply at a scale stop

Referenced by: Effect

Properties

Property Details
scale The scale of the view for the effect to take place.
value[] The effect to be applied at the corresponding scale.

Scale Dependent Effect Example

{
  "scale": 36978595,
  "value": [
    {
      "type": "drop-shadow",
      "xoffset": 3,
      "yoffset": 3,
      "blurRadius": 4,
      "color": [
        0,
        0,
        0,
        255
      ]
    },
    {
      "type": "brightness",
      "amount": 4
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.