returns the ending point of "path" - Java 2D Graphics

Java examples for 2D Graphics:Path

Description

returns the ending point of "path"

Demo Code


//package com.java2s;

import java.awt.geom.GeneralPath;
import java.awt.geom.Point2D;

public class Main {
    /** returns the ending point of "path" */
    public static Point2D getEndOfPath(GeneralPath path) {
        return (path.getCurrentPoint());
    }/*w  ww .ja  v  a  2  s  . c o m*/
}

Related Tutorials