Example usage for java.awt.geom Point2D clone

List of usage examples for java.awt.geom Point2D clone

Introduction

In this page you can find the example usage for java.awt.geom Point2D clone.

Prototype

public Object clone() 

Source Link

Document

Creates a new object of the same class and with the same contents as this object.

Usage

From source file:ImageOpByRomain.java

/**
 * {@inheritDoc}
 */
public Point2D getPoint2D(Point2D srcPt, Point2D dstPt) {
    return (Point2D) srcPt.clone();
}