@maxgraph/core
    Preparing search index...

    Class Point

    Implements a 2-dimensional vector with double precision coordinates.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    x y

    Methods

    Constructors

    • Constructs a new point for the optional x and y coordinates.

      Parameters

      • x: number = 0

        The x-coordinate (default is 0).

      • y: number = 0

        The y-coordinate (default is 0).

      Returns Point

    Properties

    _x: number = 0

    Holds the x-coordinate of the point. Default is 0.

    _y: number = 0

    Holds the y-coordinate of the point. Default is 0.

    Accessors

    Methods