XBorderFilter V0.96 for JAlbum Documentation - Shadows

Other chapters:

Shadows

Shadows are feathering bands around the image (plus frame) under consideration. They may be of any color, different size and direction. There is a variety of paraameters to control frames.
In contrast to borders and frames, shadows are only used horizontally and vertically.

Shadow Widths

The width of the shadow to draw can be controlled by 5 parameters

Unique Shadow Widths

This parameter denotes shadow widths that are uniform in the 2 choosen quarters. The value can be overwritten by the edgewise flavour of this parameter.
key description available values examples default value
shWidth width of the shadow band to be created, in pixels positive integer shWidth=10
shWidth="15"
0 (no shadow)

Edge-wise Shadow Widths

This parameter denotes shadow widths that are valid for only one of the 2 directions. The value overwrites shWidth (if given) for the denoted direction, the other direction is left untouched.
key description available values examples default value
shWidthX
shWidthY
width of the shadow band to be created, in pixels positive integer shWidthX=10
shWidthY="15"
0 (no shadow)

Example Images


class=XBorderFilter shWidth=20


class=XBorderFilter shWidthX=20 shWidthY=10

Edge-wise Shadow Excess

This parameter denotes the increase of the shadow in the opposite direction of the
key description available values examples default value
shExX
shExY
width of the shadow excess to be created, in pixels positive integer shExX=10
shExY="15"
0 (no shadow excess)

Example Images


class=XBorderFilter shWidth=20 shExX=10 shExY=10

Shadow Color

The color of the shadow band to draw can be controlled by the parameter shCol
key description available values examples default value
shCol color of the shadow to be created color names or #......-values shCol=black
shCol=gray
shCol=#ff0000
gray

Example Images


class=XBorderFilter shWidth=20 shCol=red

Shadow Transparency

The transparency of the shadow on the image edges can be controlled by the parameter shCol
key description available values examples default value
shTrans max. transparency of the shadow to be created, in % positive integers shTrans=50 0%

Example Images


class=XBorderFilter shWidth=20 shTrans=50

Shadow Direction

The direction of the shadow can be controlled by the Parameter shDir
key description available values examples default value
shDir shadow direction NORTH_EAST, NORTHEAST, NE
NORTH_WEST, NORTHWEST, NW
SOUTH_EAST, SOUTHEAST, SE
SOUTH_WEST, SOUTHWEST, SW
(case-insensitive)
shDir=NW SE, if param not given or wrong

Example Images


class=XBorderFilter shWidth=30 shDir=NW

Shadow Intensity

The intensity and decay of the shadow can be controlled by the Parameter shDrop
key description available values examples default value
shDrop shadow rendering SOFT
NORM
HARD
(case-insensitive)
shDrop=hard norm

Example Images


class=XBorderFilter shWidth=20 shDrop=hard


class=XBorderFilter shWidth=20 shDrop=soft

Top