Class PathElement2ifx.MovePathElement2ifx

    • Constructor Detail

      • MovePathElement2ifx

        MovePathElement2ifx​(javafx.beans.property.IntegerProperty tox,
                            javafx.beans.property.IntegerProperty toy)
        Constructor.
        Parameters:
        tox - x coordinate of the target point.
        toy - y coordinate of the target point.
      • MovePathElement2ifx

        MovePathElement2ifx​(Point2ifx toPoint)
        Constructor by setting.
        Parameters:
        toPoint - the point to set as the target point.
    • Method Detail

      • isEmptyProperty

        @Pure
        public javafx.beans.property.BooleanProperty isEmptyProperty()
        Description copied from class: PathElement2ifx
        Replies the property that indicates if this patth element is empty.
        Specified by:
        isEmptyProperty in class PathElement2ifx
        Returns:
        the isEmpty property.
      • isDrawable

        @Pure
        public boolean isDrawable()
        Description copied from interface: PathElement2D
        Replies if the element is not empty and is drawable.

        Only the path elements that may produce pixels on the screen must reply true in this function.

        Returns:
        true if the path element is drawable; otherwise false.
      • toArray

        @Pure
        public void toArray​(int[] array)
        Description copied from interface: PathElement2ai
        Copy the coords into the given array, except the source point.
        Parameters:
        array - the output array.
      • toArray

        @Pure
        public void toArray​(double[] array)
        Description copied from interface: PathElement2ai
        Copy the coords into the given array, except the source point.
        Parameters:
        array - the output array.
      • toArray

        @Pure
        public void toArray​(javafx.beans.property.IntegerProperty[] array)
        Description copied from class: PathElement2ifx
        Copy the coords into the given array, except the source point.
        Specified by:
        toArray in class PathElement2ifx
        Parameters:
        array - the output array.
      • toArray

        @Pure
        public javafx.beans.property.IntegerProperty[] toArray()
        Description copied from class: PathElement2ifx
        Copy the coords into an array, except the source point.
        Specified by:
        toArray in class PathElement2ifx
        Returns:
        the array of the points, except the source point.