summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/w3c/dom/svg/SVGPathElement.java
blob: b5522ca6dd44014e33a3cd79e3f3f9d0dd89f79e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

package org.w3c.dom.svg;

import org.w3c.dom.events.EventTarget;

public interface SVGPathElement extends 
               SVGElement,
               SVGTests,
               SVGLangSpace,
               SVGExternalResourcesRequired,
               SVGStylable,
               SVGTransformable,
               EventTarget,
               SVGAnimatedPathData {
  public SVGAnimatedNumber getPathLength( );

  public float         getTotalLength (  );
  public SVGPoint      getPointAtLength ( float distance );
  public int          getPathSegAtLength ( float distance );
  public SVGPathSegClosePath    createSVGPathSegClosePath (  );
  public SVGPathSegMovetoAbs    createSVGPathSegMovetoAbs ( float x, float y );
  public SVGPathSegMovetoRel    createSVGPathSegMovetoRel ( float x, float y );
  public SVGPathSegLinetoAbs    createSVGPathSegLinetoAbs ( float x, float y );
  public SVGPathSegLinetoRel    createSVGPathSegLinetoRel ( float x, float y );
  public SVGPathSegCurvetoCubicAbs    createSVGPathSegCurvetoCubicAbs ( float x, float y, float x1, float y1, float x2, float y2 );
  public SVGPathSegCurvetoCubicRel    createSVGPathSegCurvetoCubicRel ( float x, float y, float x1, float y1, float x2, float y2 );
  public SVGPathSegCurvetoQuadraticAbs    createSVGPathSegCurvetoQuadraticAbs ( float x, float y, float x1, float y1 );
  public SVGPathSegCurvetoQuadraticRel    createSVGPathSegCurvetoQuadraticRel ( float x, float y, float x1, float y1 );
  public SVGPathSegArcAbs    createSVGPathSegArcAbs ( float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag );
  public SVGPathSegArcRel    createSVGPathSegArcRel ( float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag );
  public SVGPathSegLinetoHorizontalAbs    createSVGPathSegLinetoHorizontalAbs ( float x );
  public SVGPathSegLinetoHorizontalRel    createSVGPathSegLinetoHorizontalRel ( float x );
  public SVGPathSegLinetoVerticalAbs    createSVGPathSegLinetoVerticalAbs ( float y );
  public SVGPathSegLinetoVerticalRel    createSVGPathSegLinetoVerticalRel ( float y );
  public SVGPathSegCurvetoCubicSmoothAbs    createSVGPathSegCurvetoCubicSmoothAbs ( float x, float y, float x2, float y2 );
  public SVGPathSegCurvetoCubicSmoothRel    createSVGPathSegCurvetoCubicSmoothRel ( float x, float y, float x2, float y2 );
  public SVGPathSegCurvetoQuadraticSmoothAbs    createSVGPathSegCurvetoQuadraticSmoothAbs ( float x, float y );
  public SVGPathSegCurvetoQuadraticSmoothRel    createSVGPathSegCurvetoQuadraticSmoothRel ( float x, float y );
}