Shadow Style Type | ||||||||||||||||||
The Shadow Style Type helps you apply shadow effect to any of the map objects. It extends the following configurable properties: |
||||||||||||||||||
|
||||||||||||||||||
Setting Shadow distance and angle | ||||||||||||||||||
The following code helps set the shadow distance and angle: <style name='MyFirstShadow' type='Shadow' distance='6' angle='45'/> |
||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
Setting shadow cosmetics | ||||||||||||||||||
You can configure shadow color and alpha as under: <style name='MyFirstShadow' type='Shadow' color='FF5904' alpha='40' distance='6' angle='45' /> |
||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
Configuring shadow blur | ||||||||||||||||||
You can configure the blur amount of shadow as under: <style name='MyFirstShadow' type='Shadow' distance='6' angle='45' blurX='16' blurY='16'/> |
||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
Controlling strength and quality | ||||||||||||||||||
The shadow's strength and quality can be controlled
as under: <style name='MyFirstShadow' type='Shadow' distance='6' angle='45' quality='10'/> |
||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
You can also set the strength of the shadow as under: Using a combination of the above discussed attributes, you can create shadow effects the way you like it! Let's now shift focus to Glow Style Type. |