VOOZH about

URL: https://www.geeksforgeeks.org/html/svg-pointsatx-attribute/

⇱ SVG pointsAtX Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SVG pointsAtX Attribute

Last Updated : 31 Mar, 2022

The pointsAtX attribute denotes the x position in the coordinate system established by primitiveUnits attribute on the <filter> element of the point at which the light source is pointing. Only <feSpotLight> element is using this attribute.

Syntax:

pointsAtX = number

Attribute Values: The pointsAtX attribute accepts the values mentioned above and described below:

  • number: It is a numeric value referring to the units of the current coordinate system. Its default value is considered as 0.

Below examples illustrate the use of pointsAtX attribute.

Example 1:

Output:

👁 Image

Example 2:

Output:

👁 Image
Comment