sips-js-api
    Preparing search index...

    Class Point

    The Point class represents a point in 2D coordinate system. The origin {0, 0} is located in the top left corner of the relevant object.

    Index
    x y
    • Initializes a point with the specified coordinates.

      Parameters

      • x: number

        The x-coordinate of the point to construct.

      • y: number

        The y-coordinate of the point to construct.

      Returns Point

    x: number

    The x-coordinate of the point.

    y: number

    The y-coordinate of the point.