Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Point

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Point(x?: number, y?: number): Point

Properties

x

x: number

The x coordinate.

property

x

y

y: number

The y coordinate.

property

y

Methods

clone

copyFrom

copyTo

equals

set

  • set(x?: number, y?: number): void
  • Sets the point to a new x and y position. If y is omitted, both x and y will be set to x.

    method

    set

    memberof

    PIXI.IPoint#

    Parameters

    • Optional x: number
    • Optional y: number

    Returns void

Generated using TypeDoc