public class SVGCloseSegRep extends SVGSegRep
| Modifier and Type | Field and Description | 
|---|---|
| protected org.vectomatic.dom.svg.OMSVGPathSegClosePath | closeSegThe close component of this path segment | 
| Constructor and Description | 
|---|
| SVGCloseSegRep(IPathRepOwner owner,
              org.vectomatic.dom.svg.OMSVGPathSegClosePath closeSeg) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.vectomatic.dom.svg.OMSVGPathSeg | getElement() | 
| float | getX() | 
| float | getY() | 
| void | processMouseMove(org.vectomatic.dom.svg.OMSVGPoint delta,
                com.google.gwt.dom.client.Element target,
                float hs,
                boolean isCtrlKeyDown)Updates the vertex, control points and tangents defining the segment | 
| void | setX(float x) | 
| void | setY(float y) | 
| void | update(float hs) | 
| void | updateEnd(org.vectomatic.dom.svg.OMSVGPoint delta,
         float hs) | 
getCp1, getCp2, getNextSplineSeg, getPreviousSplineSeg, getState, getTangents, getVertex, getX1, getX2, getY1, getY2, setCp1, setCp2, setNext, setPrevious, setState, updateStartprotected org.vectomatic.dom.svg.OMSVGPathSegClosePath closeSeg
public SVGCloseSegRep(IPathRepOwner owner, org.vectomatic.dom.svg.OMSVGPathSegClosePath closeSeg)
public org.vectomatic.dom.svg.OMSVGPathSeg getElement()
getElement in class SVGSegReppublic void processMouseMove(org.vectomatic.dom.svg.OMSVGPoint delta,
                             com.google.gwt.dom.client.Element target,
                             float hs,
                             boolean isCtrlKeyDown)
SVGSegRepprocessMouseMove in class SVGSegRepdelta - The translation to applytarget - The vertex, control point or tangeant to update. null means the segment endpoint vertexhs - The control point sizeisCtrlKeyDown - True if the control key is pressed (spline will interpret this to preserve
 the angle between tangents when a tangent control point is dragged)public void updateEnd(org.vectomatic.dom.svg.OMSVGPoint delta,
                      float hs)
Copyright © 2018. All Rights Reserved.