Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

2. Canvas-Referenz > CRC.lineTo()

Name

CRC.lineTo() — fügt dem aktuellen Pfad eine gerade Linie hinzu

Überblick

void lineTo(float x, float y)

Argumente

x, y

Die Koordinaten des Endpunkts der Linie.

Beschreibung

lineTo() fügt dem aktuellen Teilpfad eine gerade Linie hinzu. Die Linie beginnt am aktuellen Punkt und endet bei (x,y). Kehrt diese Methode zurück, ist die aktuelle Position (x,y).


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial