Skip to content
Snippets Groups Projects
Commit 26d42cd7 authored by Alexander Diewald's avatar Alexander Diewald
Browse files

Merge branch '3452' of https://git.fortiss.org/af3/kernel.git into 3452


Conflicts:
	org.fortiss.tooling.common.ui/src/org/fortiss/tooling/common/ui/javafx/style/.ratings

Signed-off-by: default avatarAlexander Diewald <diewald@fortiss.org>
parents 07a12ffb b73ce282
No related branches found
No related tags found
1 merge request!119[3452] Migrate the spiderchart visualization
ColorStyleBase.java acc012483c59b69c5868d0b9e81bfb4aed3364fb YELLOW
FillStyle.java fa1094afff36fefdee7c651c7bb9da959a5e29a2 YELLOW
FontStyle.java 8c11fadf66744203318c24b7aaa230030a4b8d3a YELLOW
FontStyle.java dbd259c98503150885b93697d88ba86b51b5eb99 YELLOW
LineStyle.java acf3686cae785673a1be2e34ee2eb3ef3ac2e0b6 YELLOW
StrokeStyle.java aacf3f7de43849eac12bc0ecf5b673f2f522a647 YELLOW
......@@ -12,6 +12,7 @@ package org.fortiss.tooling.common.ui.javafx.style;
import static javafx.scene.paint.Color.BLACK;
import static javafx.scene.text.Font.font;
import static javafx.scene.text.FontSmoothingType.LCD;
import javafx.geometry.Bounds;
import javafx.geometry.Dimension2D;
......@@ -53,6 +54,7 @@ public final class FontStyle extends ColorStyleBase {
gc.setStroke(getColor());
gc.setFill(getColor());
gc.setFont(font);
gc.setFontSmoothingType(LCD);
}
/** Draws the given text at the given location. */
......@@ -60,7 +62,6 @@ public final class FontStyle extends ColorStyleBase {
gc.save();
applyStyle(gc);
gc.fillText(text, x, y);
gc.strokeText(text, x, y);
gc.restore();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment