net.sourceforge.plantuml.svek.image
Class Opale
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.AbstractTextBlock
-
- net.sourceforge.plantuml.svek.image.Opale
-
public class Opale extends AbstractTextBlock implements TextBlock
-
-
Constructor Summary
Constructors Constructor and Description Opale(HtmlColor borderColor, HtmlColor noteBackgroundColor, TextBlock textBlock, boolean withShadow, boolean withLink)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.awt.geom.Dimension2DcalculateDimension(StringBounder stringBounder)voiddrawU(UGraphic ug)static UPathgetCorner(double width, double roundCorner)intgetMarginX1()static UPathgetPolygonNormal(double width, double height, double roundCorner)voidsetOpale(Direction strategy, java.awt.geom.Point2D pp1, java.awt.geom.Point2D pp2)voidsetRoundCorner(double roundCorner)-
Methods inherited from class net.sourceforge.plantuml.graphic.AbstractTextBlock
getInnerPosition, getMinMax
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.graphic.TextBlock
getInnerPosition, getMinMax
-
-
-
-
Method Detail
-
setRoundCorner
public void setRoundCorner(double roundCorner)
-
setOpale
public void setOpale(Direction strategy, java.awt.geom.Point2D pp1, java.awt.geom.Point2D pp2)
-
calculateDimension
public java.awt.geom.Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimensionin interfaceTextBlock
-
getCorner
public static UPath getCorner(double width, double roundCorner)
-
getPolygonNormal
public static UPath getPolygonNormal(double width, double height, double roundCorner)
-
getMarginX1
public final int getMarginX1()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG