Get Rectangle2D low left corner - Java 2D Graphics

Java examples for 2D Graphics:Rectangle

Description

Get Rectangle2D low left corner

Demo Code


//package com.java2s;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;

public class Main {
    public static Point2D LL(Rectangle2D rect) {
        return new Point2D.Double(rect.getX(), rect.getY());
    }/*w ww  . ja va 2 s .  co m*/
}

Related Tutorials