All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tools.tracesviewer.PercentLayoutConstraint Maven / Gradle / Ivy

There is a newer version: 1.3.0-91
Show newest version
package tools.tracesviewer;

public class PercentLayoutConstraint {
    /**
     * Creates a Constraint Object.
     * @param x The X position of the top left corner of the component (0-100)
     * @param y The Y position of the top left corner of the component (0-100)
     * @param width The percentage width of the component (0-100)
     * @param height The percentage height of the component (0-100)
     */
    public PercentLayoutConstraint(
        double x,
        double y,
        double width,
        double height) {
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
    }
    double x, y, width, height;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy