public class RoundedLineBorder extends AbstractBorder
Constructor and Description |
---|
RoundedLineBorder(Paint fill,
int lineSize,
int cornerSize) |
RoundedLineBorder(Paint fill,
int lineSize,
int cornerSize,
boolean antiAlias) |
Modifier and Type | Method and Description |
---|---|
Insets |
getBorderInsets(Component c,
Insets insets) |
int |
getCornerSize() |
Paint |
getFill() |
int |
getLineSize() |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
void |
setCornerSize(int cornerSize) |
void |
setFill(Paint fill) |
void |
setLineSize(int lineSize) |
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
public RoundedLineBorder(Paint fill, int lineSize, int cornerSize)
public RoundedLineBorder(Paint fill, int lineSize, int cornerSize, boolean antiAlias)
public Insets getBorderInsets(Component c, Insets insets)
getBorderInsets
in class AbstractBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border
paintBorder
in class AbstractBorder
public int getLineSize()
public void setLineSize(int lineSize)
public int getCornerSize()
public void setCornerSize(int cornerSize)
public Paint getFill()
public void setFill(Paint fill)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.