From 68d964ddd54a20ed64971431779f7ce3d120ef84 Mon Sep 17 00:00:00 2001 From: saurabh-ramola Date: Sun, 16 Aug 2020 20:19:57 +0530 Subject: [PATCH] Add documentation for shade layer --- docs/projects/lottie/layers/shade_layer.rst | 28 +++++++++++++++++++++ docs/projects/lottie/supported.rst | 24 ++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 docs/projects/lottie/layers/shade_layer.rst diff --git a/docs/projects/lottie/layers/shade_layer.rst b/docs/projects/lottie/layers/shade_layer.rst new file mode 100644 index 0000000..851775a --- /dev/null +++ b/docs/projects/lottie/layers/shade_layer.rst @@ -0,0 +1,28 @@ +Shade Layer +=========== + ++------------------+--------------------------------------------------------------------+ +| Property in .sif | Path to property in Lottie | ++------------------+--------------------------------------------------------------------+ +| Z_depth | Only one shade layer is supported in Lottie per layer | ++------------------+--------------------------------------------------------------------+ +| Amount | “ef” -> Opacity -> properties/[value.json OR valueKeyframed.json] | ++------------------+--------------------------------------------------------------------+ +| Blend Method | Not Supported | ++------------------+--------------------------------------------------------------------+ +| Color | "ef" -> Shadow Color ->effects/fill.json -> effects/color.json | ++------------------+--------------------------------------------------------------------+ +| Origin | “ef” -> Distance -> properties/[value.json OR valueKeyframed.json] | ++------------------+--------------------------------------------------------------------+ +| Size | “ef” -> Softness -> properties/[value.json OR valueKeyframed.json] | ++------------------+--------------------------------------------------------------------+ +| Type | Only Gaussian Blur is supported in Lottie | ++------------------+--------------------------------------------------------------------+ +| Invert | Not Supported in Lottie | ++------------------+--------------------------------------------------------------------+ + +Important points +---------------- + +- For all types of shade layer, they are defaulted to Gaussian Blur, since this is the only blur type supported by Lottie. +- Shade in lottie is not supported for outlines. \ No newline at end of file diff --git a/docs/projects/lottie/supported.rst b/docs/projects/lottie/supported.rst index 4007ec9..4484098 100644 --- a/docs/projects/lottie/supported.rst +++ b/docs/projects/lottie/supported.rst @@ -462,6 +462,30 @@ Blur Layer | Type | |tick| | |tick| | +--------------+---------+-----------------+ +Shade Layer +----------- + ++--------------+---------------------+-----------------+ +| Property | Value | Type(Animation) | ++==============+=====================+=================+ +| Z_depth | |tick| | |cross| | ++--------------+---------------------+-----------------+ +| Amount | |tick| | |tick| | ++--------------+---------------------+-----------------+ +| Blend Method | |cross| | |minus| | ++--------------+---------------------+-----------------+ +| Color | |tick| | |tick| | ++--------------+---------------------+-----------------+ +| Origin | |tick| | |tick| | ++--------------+---------------------+-----------------+ +| Size | |tick| | |tick| | ++--------------+---------------------+-----------------+ +| Type | Partially Supported | |cross| | ++--------------+---------------------+-----------------+ +| Invert | |cross| | |cross| | ++--------------+---------------------+-----------------+ + + Blend Methods ------------- - The blend methods supported are: Composite, Difference, Multiply, Hard light, Luminance, Saturation, Hue, Color, Darken, Brighten, Overlay, Screen.