File: SVGTextContentElement.java

package info (click to toggle)
xml-commons-external 1.4.01-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,484 kB
  • sloc: java: 12,856; xml: 72; makefile: 16
file content (37 lines) | stat: -rw-r--r-- 1,400 bytes parent folder | download | duplicates (10)
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

package org.w3c.dom.svg;

import org.w3c.dom.DOMException;
import org.w3c.dom.events.EventTarget;

public interface SVGTextContentElement extends 
               SVGElement,
               SVGTests,
               SVGLangSpace,
               SVGExternalResourcesRequired,
               SVGStylable,
               EventTarget {
  // lengthAdjust Types
  public static final short LENGTHADJUST_UNKNOWN   = 0;
  public static final short LENGTHADJUST_SPACING     = 1;
  public static final short LENGTHADJUST_SPACINGANDGLYPHS     = 2;

  public SVGAnimatedLength      getTextLength( );
  public SVGAnimatedEnumeration getLengthAdjust( );

  public int      getNumberOfChars (  );
  public float    getComputedTextLength (  );
  public float    getSubStringLength ( int charnum, int nchars )
                  throws DOMException;
  public SVGPoint getStartPositionOfChar ( int charnum )
                  throws DOMException;
  public SVGPoint getEndPositionOfChar ( int charnum )
                  throws DOMException;
  public SVGRect  getExtentOfChar ( int charnum )
                  throws DOMException;
  public float    getRotationOfChar ( int charnum )
                  throws DOMException;
  public int      getCharNumAtPosition ( SVGPoint point );
  public void     selectSubString ( int charnum, int nchars )
                  throws DOMException;
}