1 2 package org.w3c.dom.svg; 3 4 import org.w3c.dom.DOMException ; 5 public interface SVGAngle { 6 public static final short SVG_ANGLETYPE_UNKNOWN = 0; 8 public static final short SVG_ANGLETYPE_UNSPECIFIED = 1; 9 public static final short SVG_ANGLETYPE_DEG = 2; 10 public static final short SVG_ANGLETYPE_RAD = 3; 11 public static final short SVG_ANGLETYPE_GRAD = 4; 12 13 public short getUnitType( ); 14 public float getValue( ); 15 public void setValue( float value ) 16 throws DOMException ; 17 public float getValueInSpecifiedUnits( ); 18 public void setValueInSpecifiedUnits( float valueInSpecifiedUnits ) 19 throws DOMException ; 20 public String getValueAsString( ); 21 public void setValueAsString( String valueAsString ) 22 throws DOMException ; 23 24 public void newValueSpecifiedUnits ( short unitType, float valueInSpecifiedUnits ); 25 public void convertToSpecifiedUnits ( short unitType ); 26 } 27 | Popular Tags |