Interface IPoint

interface IPoint {
    x: number;
    y: number;
    copyFrom(p: IPointData): this;
    copyTo<T extends IPoint>(p: T): T;
    equals(p: IPointData): boolean;
    set(x?: number, y?: number): void;
}

Hierarchy (View Summary)

Implemented by

Properties

x y

Methods

Properties

x: number
y: number

Methods

  • Parameters

    Returns this

  • Type Parameters

    Parameters

    Returns T

  • Parameters

    Returns boolean

  • Parameters

    • Optionalx: number
    • Optionaly: number

    Returns void