Class DriverRectangleG2d
- java.lang.Object
-
- net.sourceforge.plantuml.ugraphic.g2d.DriverShadowedG2d
-
- net.sourceforge.plantuml.ugraphic.g2d.DriverRectangleG2d
-
- All Implemented Interfaces:
UDriver<URectangle,Graphics2D>
public class DriverRectangleG2d extends DriverShadowedG2d implements UDriver<URectangle,Graphics2D>
-
-
Constructor Summary
Constructors Constructor Description DriverRectangleG2d(double dpiFactor, EnsureVisible visible)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(URectangle rect, double x, double y, ColorMapper mapper, UParam param, Graphics2D g2d)
static void
drawBorder(UParam param, HColor color, ColorMapper mapper, UShapeSized sized, Shape shape, Graphics2D g2d, double x, double y)
static GradientPaint
getPaintGradient(double x, double y, ColorMapper mapper, double width, double height, HColor back)
static void
managePattern(UParam param, Graphics2D g2d)
-
Methods inherited from class net.sourceforge.plantuml.ugraphic.g2d.DriverShadowedG2d
drawOnlyLineShadow, drawOnlyLineShadowSpecial, drawShadow
-
-
-
-
Constructor Detail
-
DriverRectangleG2d
public DriverRectangleG2d(double dpiFactor, EnsureVisible visible)
-
-
Method Detail
-
draw
public void draw(URectangle rect, double x, double y, ColorMapper mapper, UParam param, Graphics2D g2d)
- Specified by:
draw
in interfaceUDriver<URectangle,Graphics2D>
-
drawBorder
public static void drawBorder(UParam param, HColor color, ColorMapper mapper, UShapeSized sized, Shape shape, Graphics2D g2d, double x, double y)
-
getPaintGradient
public static GradientPaint getPaintGradient(double x, double y, ColorMapper mapper, double width, double height, HColor back)
-
managePattern
public static void managePattern(UParam param, Graphics2D g2d)
-
-