![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.klimt.font.UnusedSpace Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.klimt.font;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class UnusedSpace {
// ::remove file when __HAXE__
static class Point {
final private double x;
final private double y;
Point(double x, double y) {
this.x = x;
this.y = y;
}
public double getDistSq(Point other) {
final double dx = this.x - other.x;
final double dy = this.y - other.y;
return dx * dx + dy * dy;
}
}
private static final int HALF_SIZE = 20;
private double meanX2;
private double meanY2;
private final List points = new ArrayList<>();
final private static Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy