// Generated by generate_plugin_gmmproc_file. Don't edit this file.


#include <gstreamermm/element.h>
_DEFS(gstreamermm,gst)

namespace Gst
{

_WRAP_ENUM(TextOverlayHAlign,GstTextOverlayHAlign)
_CONV_ENUM(Gst,TextOverlayHAlign)

_WRAP_ENUM(TextOverlayVAlign,GstTextOverlayVAlign)
_CONV_ENUM(Gst,TextOverlayVAlign)

_WRAP_ENUM(TextOverlayWrapMode,GstTextOverlayWrapMode)
_CONV_ENUM(Gst,TextOverlayWrapMode)

_WRAP_ENUM(TextOverlayLineAlign,GstTextOverlayLineAlign)
_CONV_ENUM(Gst,TextOverlayLineAlign)

/** A Wrapper for the textoverlay plugin.
 * Please note that, though using the underlying GObject is fine, using its C
 * <B>type</B> is not guaranteed to be API stable across releases because it is
 * not guaranteed to always remain the same.  Also, not all plug-ins are
 * available on all systems so care must be taken that they exist before they
 * are used, otherwise there will be errors and possibly a crash.
 *
 * @ingroup GstPlugins
 */
class TextOverlay
: public Gst::Element
{
  _CLASS_GOBJECT(TextOverlay, GstTextOverlay, GST_TEXT_OVERLAY, Gst::Element, GstElement)
  _IS_GSTREAMERMM_PLUGIN

protected:
  TextOverlay();
  explicit TextOverlay(const Glib::ustring& name);

public:
  /** Creates a new textoverlay plugin with a unique name.
   */
  _WRAP_CREATE()

  /** Creates a new textoverlay plugin with the given name.
   */
  _WRAP_CREATE(const Glib::ustring& name)

  _WRAP_PROPERTY("text", Glib::ustring)
  _WRAP_PROPERTY("shaded-background", bool)
  _WRAP_PROPERTY("valign", Glib::ustring)
  _WRAP_PROPERTY("halign", Glib::ustring)
  _WRAP_PROPERTY("halignment", Gst::TextOverlayHAlign)
  _WRAP_PROPERTY("valignment", Gst::TextOverlayVAlign)
  _WRAP_PROPERTY("xpad", int)
  _WRAP_PROPERTY("ypad", int)
  _WRAP_PROPERTY("deltax", int)
  _WRAP_PROPERTY("deltay", int)
  _WRAP_PROPERTY("xpos", double)
  _WRAP_PROPERTY("ypos", double)
  _WRAP_PROPERTY("wrap-mode", Gst::TextOverlayWrapMode)
  _WRAP_PROPERTY("font-desc", Glib::ustring)
  _WRAP_PROPERTY("silent", bool)
  _WRAP_PROPERTY("line-alignment", Gst::TextOverlayLineAlign)
  _WRAP_PROPERTY("wait-text", bool)
  _WRAP_PROPERTY("auto-resize", bool)
  _WRAP_PROPERTY("vertical-render", bool)
  _WRAP_PROPERTY("color", guint)
  _WRAP_PROPERTY("shadow", bool)
  _WRAP_PROPERTY("outline-color", guint)
};

} // namespace Gst
