TypeScript API Documentation for ST
API Version: 18
Library Version: 18.0.0
Generated with TypeDoc via ts-for-gir v4.0.0-rc.7
A helper for implementing a drop shadow on a actor. The actor is expected to recreate the helper whenever its contents or size change. Then, it would call st_shadow_helper_paint() inside its paint() virtual function.
st_shadow_helper_paint()
paint()
Static
a copy of helper
helper
Free resources associated with helper.
Paints the shadow associated with helper This must only be called from the implementation of ClutterActor::paint().
a Clutter.PaintNode
the bounding box of the shadow
the opacity at which the shadow is painted
Update helper from source.
source
a Clutter.Actor
a Clutter.PaintContext
A helper for implementing a drop shadow on a actor. The actor is expected to recreate the helper whenever its contents or size change. Then, it would call
st_shadow_helper_paint()inside itspaint()virtual function.