User Tools

Site Tools


el:rect

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

el:rect [2016/01/01 22:39]
el:rect [2020/02/28 10:46] (current)
Line 1: Line 1:
 +===== Rect =====
 +==== Σύνταξη ====
 +**rect** //x//,//y//,//πλάτος//,//ύψος//\\
 +**rect** ( //x//, //y//, //πλάτος//, //ύψος// )
 +==== Περιγραφή ====
 +Σχεδιάζει ένα //ύψος// x //πλάτος// ορθογώνιο χρησιμοποιώντας τα τρέχοντα χρώματα στυλού και πινέλου. Η πάνω αριστερή γωνία έχει τις συντεταγένες //x//,//y//.
 +==== Παράδειγμα ====
 +<code>
 +clg
  
 +color red
 +rect 50,50,150,150
 +
 +penwidth 10
 +color blue, yellow
 +rect 100,100,150,150
 +
 +color green, clear
 +rect 10,130,280,40
 +</code>
 +θα απεικονίσει\\
 +{{:rect.png|}}
 +
 +==== Δες επίσης ====
 +{{page>en:start#Graphics - Drawing&noheader}}