Struct
StShadow
Description [src]
struct StShadow {
CoglColor color;
gdouble xoffset;
gdouble yoffset;
gdouble blur;
gdouble spread;
gboolean inset;
}
Attributes of the -st-shadow property.
Structure members
colorShadow’s color.
xoffsetHorizontal offset - positive values mean placement to the right, negative values placement to the left of the element.
yoffsetVertical offset - positive values mean placement below, negative values placement above the element.
blurShadow’s blur radius - a value of 0.0 will result in a hard shadow.
spreadShadow’s spread radius - grow the shadow without enlarging the blur.
insetNo 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.