Safari Developer Library

Developer

WebKitPoint Class Reference

Options
Deployment Target:

On This Page

WebKitPoint

Inheritance


  • WebKitPoint

Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable

Availability


Available in Safari 4.0 and later.
Available in iOS 2.0 and later.

WebKitPoint objects represent a point in two-dimensional space used by CSS transitions specified using the -webkit-transition property.

  • x Property

    The x coordinate for the point.

    Declaration

    JavaScript

    attribute float x

    Availability

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • y Property

    The y coordinate for the point.

    Declaration

    JavaScript

    attribute float y

    Availability

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.