Gjsify LogoGjsify Logo

The ClutterPaintNode structure contains only private data and it should be accessed using the provided API.

Hierarchy

Index

Constructors

Properties

name: string

Methods

  • Adds child to the list of children of node.

    This function will acquire a reference on child.

    Parameters

    • child: PaintNode

      the child #ClutterPaintNode to add

    Returns void

  • 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