Class DriverRectangleG2d
java.lang.Object
net.sourceforge.plantuml.klimt.drawing.g2d.DriverShadowedG2d
net.sourceforge.plantuml.klimt.drawing.g2d.DriverRectangleG2d
- All Implemented Interfaces:
UDriver<URectangle,
Graphics2D>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.klimt.drawing.g2d.DriverShadowedG2d
drawOnlyLineShadow, drawOnlyLineShadowSpecial, drawShadow
-
Constructor Details
-
DriverRectangleG2d
-
-
Method Details
-
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
-