Package com.storedobject.svg
Class MovableSvg
java.lang.Object
com.storedobject.svg.Svg
com.storedobject.svg.TransformedSvg
com.storedobject.svg.MovableSvg
-
Nested Class Summary
Nested classes/interfaces inherited from class com.storedobject.svg.Svg
Svg.Anchor, Svg.Margin, Svg.Mover, Svg.Scale, Svg.ScaleTo -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MovableSvgCreate aMovableSvgfrom anSvg.voidmove(double x, double y) Move by displacement.voidMove to a point.Methods inherited from class com.storedobject.svg.TransformedSvg
build, isBuilt, transformMethods inherited from class com.storedobject.svg.Svg
add, add, add, escapeXml, flipHorizontally, flipVertically, getFilledSvg, getHeight, getScaledSvg, getSvg, getWidth, getX, getY, margin, margin, scale, scale, scaleTo, scaleToHeight, scaleToWidth, toString
-
Method Details
-
create
Create aMovableSvgfrom anSvg.- Parameters:
embedded- SVG to be wrapped.- Returns:
- MovableSvg.
-
move
-
move
public void move(double x, double y) Move by displacement.- Parameters:
x- X displacement.y- Y displacement.
-