![JAR search and dependency download from the Maven repository](/logo.png)
net.vectorpublish.desktop.vp.split.Spliter Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2016, Peter Rader. All rights reserved.
* ___ ___ __ ______ __ __ __ __
* | | |.-----..----.| |_ .-----..----.| __ \.--.--.| |--.| ||__|.-----.| |--.
* | | || -__|| __|| _|| _ || _|| __/| | || _ || || ||__ --|| |
* \_____/ |_____||____||____||_____||__| |___| |_____||_____||__||__||_____||__|__|
*
* http://www.gnu.org/licenses/gpl-3.0.html
*/
package net.vectorpublish.desktop.vp.split;
import java.awt.geom.Rectangle2D;
public interface Spliter {
/**
* Calculates the virtual size of the splitted rectangle.
*
* @param first
* If split vertical true
requests the left and
* false
requires the right rectangle of the split.
* If split horizontal true
requests the top,
* false
requests the bottom rectangle of the split.
* @return The virtual rectangle of one side of the split, never
* null
.
*/
Rectangle2D.Float calulateChildRectangle(boolean first);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy