Javascript [Electronic resources] : The Definitive Guide (4th Edition) نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Javascript [Electronic resources] : The Definitive Guide (4th Edition) - نسخه متنی

David Flanagan

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید

Availability


JavaScript 1.0; JScript 1.0; ECMAScript v1


Synopsis

Math.atan2(y, x)

Arguments


y

The Y-coordinate of the point.

x

The X-coordinate of the point.


Returns


A value between - and radians that specifies the
counterclockwise angle between the positive X-axis and the point
(x, y).


Description


The Math.atan2( ) function computes the arc
tangent of the ratio
y/x. The
y argument can be considered the
Y-coordinate (or "rise") of a point, and the
x argument can be considered the
X-coordinate (or "run") of the point. Note the unusual
order of the arguments to this function: the Y-coordinate is passed
before the X-coordinate.

/ 844