MDN self-hosted library · e01.org

SVGFESpecularLightingElement: kernelUnitLengthX property

SVG

no runnable cells web-api-instance-property upstream source

SVG

The kernelUnitLengthX read-only property of the SVGFESpecularLightingElement interface reflects the x value of the kernelUnitLength attribute of the given feSpecularLighting element.

The kernelUnitLength attribute indicates the intended distance in current filter units, specified by the primitiveUnits attribute, for the x and y coordinates. It contains one or two values, with the y value defaulting to x if not present, and the kernelUnitLengthX property gets and sets the first value.

Value

An SVGAnimatedNumber object that corresponds to the X-component of the kernelUnitLength attribute of the given element.

Specifications

Browser compatibility

See also

  • SVGFeSpecularLightingElement.kernelUnitLengthY
  • SVGAnimatedNumber