class Linie { float xpos, _xpos; float ypos, _ypos; float breite, _breite; float hoehe, _hoehe; Linie(float _xpos, float _ypos, float _breite, float _hoehe) { xpos = _xpos; ypos = _ypos; breite = _breite; hoehe = _hoehe; rectMode(CORNER); } void display() { fill(255); rect(xpos, ypos, breite, hoehe); } }