Class SVGTextInfo
java.lang.Object
armyc2.c5isr.web.render.utilities.SVGTextInfo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSVGTextInfo
(String text, Point2D position, String justification, double angle) -
Method Summary
Modifier and TypeMethodDescriptionstatic Rectangle
getRotatedRectangleBounds
(Rectangle rectangle, Point2D pivotPt, double angle, String justification) toSVGElement
(String textColor, String outlineColor, double outlineWidth)
-
Field Details
-
_text
-
_fontName
-
_fontSize
-
_fontStyle
-
_location
-
_bounds
-
-
Constructor Details
-
SVGTextInfo
-
-
Method Details
-
getTextBounds
-
toSVGElement
-
getRotatedRectangleBounds
public static Rectangle getRotatedRectangleBounds(Rectangle rectangle, Point2D pivotPt, double angle, String justification)
-