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

  • Adds a rectangle region to the node, as described by the passed rect.

    Parameters

    Returns void

  • 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

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