public class Opale extends AbstractTextBlock implements TextBlock
Constructor and Description |
---|
Opale(double shadowing,
HColor borderColor,
HColor noteBackgroundColor,
TextBlock textBlock,
boolean withLink,
UStroke stroke) |
Modifier and Type | Method and Description |
---|---|
XDimension2D |
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,
XPoint2D pp1,
XPoint2D pp2) |
void |
setRoundCorner(double roundCorner) |
getBackcolor, getInnerPosition, getMagneticBorder, getMinMax
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBackcolor, getInnerPosition, getMagneticBorder, getMinMax
public void setRoundCorner(double roundCorner)
public XDimension2D 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()