Package org.loboevolution.html.dom.svg
Interface SVGAngle
- All Known Implementing Classes:
SVGAngleImpl
public interface SVGAngle
SVGAngle interface.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final short
Constant SVG_ANGLETYPE_DEG=2static final short
Constant SVG_ANGLETYPE_GRAD=4static final short
Constant SVG_ANGLETYPE_RAD=3static final short
Constant SVG_ANGLETYPE_UNKNOWN=0static final short
Constant SVG_ANGLETYPE_UNSPECIFIED=1 -
Method Summary
Modifier and TypeMethodDescriptionvoid
convertToSpecifiedUnits
(short unitType) convertToSpecifiedUnits.short
getUnitType.float
getValue()
getValue.getValueAsString.float
getValueInSpecifiedUnits.void
newValueSpecifiedUnits
(short unitType, float valueInSpecifiedUnits) newValueSpecifiedUnits.void
setValue
(float value) setValue.void
setValueAsString
(String valueAsString) setValueAsString.void
setValueInSpecifiedUnits
(float valueInSpecifiedUnits) setValueInSpecifiedUnits.
-
Field Details
-
SVG_ANGLETYPE_UNKNOWN
static final short SVG_ANGLETYPE_UNKNOWNConstant SVG_ANGLETYPE_UNKNOWN=0- See Also:
-
SVG_ANGLETYPE_UNSPECIFIED
static final short SVG_ANGLETYPE_UNSPECIFIEDConstant SVG_ANGLETYPE_UNSPECIFIED=1- See Also:
-
SVG_ANGLETYPE_DEG
static final short SVG_ANGLETYPE_DEGConstant SVG_ANGLETYPE_DEG=2- See Also:
-
SVG_ANGLETYPE_RAD
static final short SVG_ANGLETYPE_RADConstant SVG_ANGLETYPE_RAD=3- See Also:
-
SVG_ANGLETYPE_GRAD
static final short SVG_ANGLETYPE_GRADConstant SVG_ANGLETYPE_GRAD=4- See Also:
-
-
Method Details
-
getUnitType
short getUnitType()getUnitType.
- Returns:
- a short.
-
getValue
float getValue()getValue.
- Returns:
- a float.
-
setValue
void setValue(float value) setValue.
- Parameters:
value
- a float.- Throws:
DOMException
- if any.
-
getValueInSpecifiedUnits
float getValueInSpecifiedUnits()getValueInSpecifiedUnits.
- Returns:
- a float.
-
setValueInSpecifiedUnits
void setValueInSpecifiedUnits(float valueInSpecifiedUnits) setValueInSpecifiedUnits.
- Parameters:
valueInSpecifiedUnits
- a float.- Throws:
DOMException
- if any.
-
getValueAsString
String getValueAsString()getValueAsString.
- Returns:
- a
String
object.
-
setValueAsString
setValueAsString.
- Parameters:
valueAsString
- aString
object.- Throws:
DOMException
- if any.
-
newValueSpecifiedUnits
void newValueSpecifiedUnits(short unitType, float valueInSpecifiedUnits) newValueSpecifiedUnits.
- Parameters:
unitType
- a short.valueInSpecifiedUnits
- a float.
-
convertToSpecifiedUnits
void convertToSpecifiedUnits(short unitType) convertToSpecifiedUnits.
- Parameters:
unitType
- a short.
-