From f7125f6bb2db418064a170ae42466e13b8f51f70 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 28 Mar 2023 02:39:49 +0200 Subject: Graph Font.Glyph: Add getFont() (the owner) --- src/jogl/classes/com/jogamp/graph/font/Font.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/jogl/classes/com/jogamp/graph') diff --git a/src/jogl/classes/com/jogamp/graph/font/Font.java b/src/jogl/classes/com/jogamp/graph/font/Font.java index d9f59d132..2fb9b94ab 100644 --- a/src/jogl/classes/com/jogamp/graph/font/Font.java +++ b/src/jogl/classes/com/jogamp/graph/font/Font.java @@ -166,6 +166,9 @@ public interface Font { // http://scripts.sil.org/cms/scripts/page.php?item_id=IWS-Chapter08#ba57949e public static final int ID_UNKNOWN = 0; + /** Return the {@link Font} owning this {@link Glyph}. */ + Font getFont(); + /** Return this glyph's ID */ int getID(); -- cgit v1.2.3