Gjsify LogoGjsify Logo

The #ClutterTextNode structure is an opaque type whose members cannot be directly accessed.

Hierarchy

Index

Constructors

  • Creates a new #ClutterPaintNode that will paint a #PangoLayout with the given color.

    This function takes a reference on the passed layout, so it is safe to call g_object_unref() after it returns.

    Parameters

    Returns Clutter.TextNode

Properties

name: string

Methods

  • addTextureRectangle(rect: ActorBox, x1: number, y1: number, x2: number, y2: number): void
  • Adds a rectangle region to the node, with texture coordinates.

    Parameters

    • rect: ActorBox

      a #ClutterActorBox

    • x1: number

      the left X coordinate of the texture

    • y1: number

      the top Y coordinate of the texture

    • x2: number

      the right X coordinate of the texture

    • y2: number

      the bottom Y coordinate of the texture

    Returns void

  • setName(name: string): void
  • Sets a user-readable name for node.

    The name will be used for debugging purposes.

    The node will copy the passed string.

    Parameters

    • name: string

      a string annotating the node

    Returns void

  • unref(): void
  • Creates a new #ClutterPaintNode that will paint a #PangoLayout with the given color.

    This function takes a reference on the passed layout, so it is safe to call g_object_unref() after it returns.

    Parameters

    Returns Clutter.TextNode

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method