Interface IScalable<T extends IGeometry>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T getScaled​(double factor)
      Scales a copy of the calling object by the given factor relative to its center Point.
      T getScaled​(double fx, double fy)
      Scales a copy of the calling object by the given factors relative to its center Point.
      T getScaled​(double factor, double cx, double cy)
      Scales a copy of the calling object by the given factor relative to the given center Point (cx, cy).
      T getScaled​(double fx, double fy, double cx, double cy)
      Scales a copy of the calling object by the given factors relative to the given center Point (cx, cy).
      T getScaled​(double fx, double fy, Point center)
      Scales a copy of the calling object by the given factors relative to the given center Point.
      T getScaled​(double factor, Point center)
      Scales a copy of the calling object by the given factor relative to the given center Point.
      T scale​(double factor)
      Scales the calling object by the given factor relative to its center Point.
      T scale​(double fx, double fy)
      Scales the calling object by the given factors relative to the given center Point.
      T scale​(double factor, double cx, double cy)
      Scales the calling object by the given factor relative to the given center Point (cx, cy).
      T scale​(double fx, double fy, double cx, double cy)
      Scales the calling object by the given factors relative to the given center Point (cx, cy).
      T scale​(double fx, double fy, Point center)
      Scales the calling object by the given factors relative to the given center Point.
      T scale​(double factor, Point center)
      Scales the calling object by the given factor relative to the given center Point.
    • Method Detail

      • getScaled

        T getScaled​(double factor)
        Scales a copy of the calling object by the given factor relative to its center Point.
        Parameters:
        factor - scale-factor
        Returns:
        the new, scaled object
      • getScaled

        T getScaled​(double fx,
                    double fy)
        Scales a copy of the calling object by the given factors relative to its center Point.
        Parameters:
        fx - x-scale-factor
        fy - y-scale-factor
        Returns:
        the new, scaled object
      • getScaled

        T getScaled​(double factor,
                    double cx,
                    double cy)
        Scales a copy of the calling object by the given factor relative to the given center Point (cx, cy).
        Parameters:
        factor - scale-factor
        cx - x-coordinate of the relative Point for the scaling
        cy - y-coordinate of the relative Point for the scaling
        Returns:
        the new, scaled object
      • getScaled

        T getScaled​(double fx,
                    double fy,
                    double cx,
                    double cy)
        Scales a copy of the calling object by the given factors relative to the given center Point (cx, cy).
        Parameters:
        fx - x-scale-factor
        fy - y-scale-factor
        cx - x-coordinate of the relative Point for the scaling
        cy - y-coordinate of the relative Point for the scaling
        Returns:
        the new, scaled object
      • getScaled

        T getScaled​(double fx,
                    double fy,
                    Point center)
        Scales a copy of the calling object by the given factors relative to the given center Point.
        Parameters:
        fx - x-scale-factor
        fy - y-scale-factor
        center - relative Point for the scaling
        Returns:
        the new, scaled object
      • getScaled

        T getScaled​(double factor,
                    Point center)
        Scales a copy of the calling object by the given factor relative to the given center Point.
        Parameters:
        factor - scale-factor
        center - relative Point for the scaling
        Returns:
        the new, scaled object
      • scale

        T scale​(double factor)
        Scales the calling object by the given factor relative to its center Point.
        Parameters:
        factor - scale-factor
        Returns:
        this for convenience
      • scale

        T scale​(double fx,
                double fy)
        Scales the calling object by the given factors relative to the given center Point.
        Parameters:
        fx - x-scale-factor
        fy - y-scale-factor
        Returns:
        this for convenience
      • scale

        T scale​(double factor,
                double cx,
                double cy)
        Scales the calling object by the given factor relative to the given center Point (cx, cy).
        Parameters:
        factor - scale-factor
        cx - x-coordinate of the relative Point for the scaling
        cy - y-coordinate of the relative Point for the scaling
        Returns:
        this for convenience
      • scale

        T scale​(double fx,
                double fy,
                double cx,
                double cy)
        Scales the calling object by the given factors relative to the given center Point (cx, cy).
        Parameters:
        fx - x-scale-factor
        fy - y-scale-factor
        cx - x-coordinate of the relative Point for the scaling
        cy - y-coordinate of the relative Point for the scaling
        Returns:
        this for convenience
      • scale

        T scale​(double fx,
                double fy,
                Point center)
        Scales the calling object by the given factors relative to the given center Point.
        Parameters:
        fx - x-scale-factor
        fy - y-scale-factor
        center - relative Point for the scaling
        Returns:
        this for convenience
      • scale

        T scale​(double factor,
                Point center)
        Scales the calling object by the given factor relative to the given center Point.
        Parameters:
        factor - scale-factor
        center - relative Point for the scaling
        Returns:
        this for convenience