public class Opale extends AbstractTextBlock implements TextBlock
Constructor and Description |
---|
Opale(HtmlColor borderColor,
HtmlColor noteBackgroundColor,
TextBlock textBlock,
boolean withShadow,
boolean withLink) |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Dimension2D |
calculateDimension(StringBounder stringBounder) |
void |
drawU(UGraphic ug) |
static UPath |
getCorner(double width,
double roundCorner) |
int |
getMarginX1() |
static UPath |
getPolygonNormal(double width,
double height,
double roundCorner) |
void |
setOpale(Direction strategy,
java.awt.geom.Point2D pp1,
java.awt.geom.Point2D pp2) |
void |
setRoundCorner(double roundCorner) |
getInnerPosition, getMinMax
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInnerPosition, getMinMax
public void setRoundCorner(double roundCorner)
public void setOpale(Direction strategy, java.awt.geom.Point2D pp1, java.awt.geom.Point2D pp2)
public java.awt.geom.Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension
in interface TextBlock
public static UPath getCorner(double width, double roundCorner)
public static UPath getPolygonNormal(double width, double height, double roundCorner)
public final int getMarginX1()