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 the passed texture.

    This function will take a reference on texture, so it is safe to call cogl_object_unref() on texture when it returns.

    The color must not be pre-multiplied with its #ClutterColor.alpha channel value; if color is %NULL, a fully opaque white color will be used for blending.

    Parameters

    Returns Clutter.TextureNode

Properties

name: string

Methods

  • add_texture_rectangle(rect: ActorBox, x_1: number, y_1: number, x_2: number, y_2: number): void
  • Adds a rectangle region to the node, with texture coordinates.

    Parameters

    • rect: ActorBox

      a #ClutterActorBox

    • x_1: number

      the left X coordinate of the texture

    • y_1: number

      the top Y coordinate of the texture

    • x_2: number

      the right X coordinate of the texture

    • y_2: number

      the bottom Y coordinate of the texture

    Returns void

  • set_name(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 the passed texture.

    This function will take a reference on texture, so it is safe to call cogl_object_unref() on texture when it returns.

    The color must not be pre-multiplied with its #ClutterColor.alpha channel value; if color is %NULL, a fully opaque white color will be used for blending.

    Parameters

    Returns Clutter.TextureNode

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