Gjsify LogoGjsify Logo

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

Hierarchy

Index

Constructors

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

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