Loading:


Rectangle left [AS 2]

Klasa: Rectangle

Kompatybilność: ActionScript 1.0, Flash 8+

 

Zwraca współrzędną x lewego-górnego rogu prostokąta.




Napisz Artyku³

Listing

import flash.geom.Rectangle;

var rect:Rectangle = new Rectangle(0, 0, 100, 100);
trace(rect.left); // 0
trace(rect.x); // 0
trace(rect.width); // 100

rect.left = 10;
trace(rect.left); // 10
trace(rect.x); // 10
trace(rect.width); // 90
 




Dodano przez: divix
Ranga: Administrator serwisu Punktów: 38523
Komentarze użytkowników
    • Tre¶æ komentarza
      Kod do komentarza (opcjonalnie)
      PHP JavaScript MySQL Smarty SQL HTML CSS ActionScript
      Autor
      Token
      token

       

       








funkcje.net
Wszelkie prawa zastrzeżone©. | Funkcje.net 2008-2024 v.1.5 | design: diviXdesign & rainbowcolors