Scale Dependent Effect

An object describing the effect to apply at a scale stop.

Properties

Property Details
scale The scale of the view for the effect to take place.
value An array of effects to be applied at the corresponding scale.

Referenced by: Effect

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.