Struct
StShadow
Description [src]
struct StShadow {
ClutterColor color;
gdouble xoffset;
gdouble yoffset;
gdouble blur;
gdouble spread;
gboolean inset;
}
Attributes of the -st-shadow property.
Structure members
color
Shadow’s color.
xoffset
Horizontal offset - positive values mean placement to the right, negative values placement to the left of the element.
yoffset
Vertical offset - positive values mean placement below, negative values placement above the element.
blur
Shadow’s blur radius - a value of 0.0 will result in a hard shadow.
spread
Shadow’s spread radius - grow the shadow without enlarging the blur.
inset
No description available.
Instance methods
st_shadow_equal
Check if two shadow objects are identical. Note that two shadows may compare non-identically if they differ only by floating point rounding errors.
st_shadow_unref
Atomically decrements the reference count of shadow
by one.
If the reference count drops to 0, all memory allocated by the
StShadow
is released.