textalive-app-api - v0.5.2
    Preparing search index...

    Interface IPoint

    interface IPoint {
        x: number;
        y: number;
        clone(): IPoint;
        copy(IPoint: IPoint): IPoint;
        setValues(x?: number, y?: number): IPoint;
        toString(): string;
    }

    Implemented by

    Index
    x y
    x: number

    X position.

    y: number

    Y position.

    • Returns a clone of the Point instance.

      Returns IPoint

      a clone of the Point instance.

    • Copies all properties from the specified point to this point.

      Parameters

      Returns IPoint

      This point. Useful for chaining method calls.

    • Sets the specified values on this instance.

      Parameters

      • Optionalx: number

        X position.

      • Optionaly: number

        Y position.

      Returns IPoint

      This instance. Useful for chaining method calls.

    • Returns a string representation of this object.

      Returns string

      a string representation of the instance.