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.

Constructors

st_shadow_new

Creates a new StShadow.

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_get_box

Gets the box used to paint shadow, which will be partly outside of actor_box.

st_shadow_ref

Atomically increments the reference count of shadow by one.

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.