public class SVGOMLength extends AbstractSVGLength
SVGSVGElement.createSVGLength()
AbstractSVGLength.DefaultContext
Modifier and Type | Field and Description |
---|---|
protected AbstractElement |
element
Element associated to this length.
|
context, direction, HORIZONTAL_LENGTH, OTHER_LENGTH, UNITS, unitType, value, VERTICAL_LENGTH
SVG_LENGTHTYPE_CM, SVG_LENGTHTYPE_EMS, SVG_LENGTHTYPE_EXS, SVG_LENGTHTYPE_IN, SVG_LENGTHTYPE_MM, SVG_LENGTHTYPE_NUMBER, SVG_LENGTHTYPE_PC, SVG_LENGTHTYPE_PERCENTAGE, SVG_LENGTHTYPE_PT, SVG_LENGTHTYPE_PX, SVG_LENGTHTYPE_UNKNOWN
Constructor and Description |
---|
SVGOMLength(AbstractElement elt)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected SVGOMElement |
getAssociatedElement()
Return the SVGElement associated to this length.
|
convertToSpecifiedUnits, getUnitType, getValue, getValueAsString, getValueInSpecifiedUnits, newValueSpecifiedUnits, parse, reset, revalidate, setValue, setValueAsString, setValueInSpecifiedUnits
protected AbstractElement element
public SVGOMLength(AbstractElement elt)
protected SVGOMElement getAssociatedElement()
AbstractSVGLength
getAssociatedElement
in class AbstractSVGLength
Copyright © 2022 Apache Software Foundation. All Rights Reserved.