All Implemented Interfaces:
TextBlock, UDrawable, UShape

public class Opale extends AbstractTextBlock implements TextBlock
  • Constructor Details

    • Opale

      public Opale(double shadowing, HColor borderColor, HColor noteBackgroundColor, TextBlock textBlock, boolean withLink, UStroke stroke)
  • Method Details

    • setRoundCorner

      public void setRoundCorner(double roundCorner)
    • setOpale

      public void setOpale(Direction strategy, XPoint2D pp1, XPoint2D pp2)
    • calculateDimension

      public XDimension2D calculateDimension(StringBounder stringBounder)
      Specified by:
      calculateDimension in interface TextBlock
    • drawU

      public final void drawU(UGraphic ug)
      Specified by:
      drawU in interface UDrawable
    • 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()