public final class AWTUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
drawBorderRect(Graphics2D g,
int x,
int y,
int width,
int height,
int thickness) |
static void |
drawCircle(Graphics2D g,
int x,
int y,
int r) |
static Rectangle2D |
getStringBounds(Graphics2D g,
String str) |
static Rectangle2D |
getStringBounds(Graphics2D g,
String str,
float x,
float y) |
public static void drawCircle(Graphics2D g, int x, int y, int r)
public static void drawBorderRect(Graphics2D g, int x, int y, int width, int height, int thickness)
public static Rectangle2D getStringBounds(Graphics2D g, String str, float x, float y)
public static Rectangle2D getStringBounds(Graphics2D g, String str)
Copyright © 2024. All rights reserved.