VOOZH about

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

⇱ SVG pointsAtY Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SVG pointsAtY Attribute

Last Updated : 31 Mar, 2022

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

Syntax:

pointsAtY = number

Attribute Values: The pointsAtY 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 pointsAtY attribute.

Example 1:

Output:

👁 Image

Example 2:

Output:

👁 Image
Comment