# drawing question

**URL:** <https://psychtoolbox.discourse.group/t/drawing-question/653>\
**Category:** Uncategorized\
**Created:** [June 2, 2005, 10:43pm UTC](https://psychtoolbox.discourse.group/t/drawing-question/653 "2005-06-02T22:43:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [June 2, 2005, 10:43pm UTC](https://psychtoolbox.discourse.group/t/drawing-question/653/1 "2005-06-02T22:43:06Z")

</div>

Can someone tell me how to use fillpoly in screen?  
It says,  
  
Screen('FillPoly', windowPtr [,color], pointList);  
  
What is a pointList? I've tried everything I could think of. I just want to draw a bar (rect)   
that I can rotate with a function I've written for that purpose.  
  
If someone could send me an example that draws a oh say 5 by 20 filled rectangle using   
FillPoly, it would save me a lot of time and frustration. :)  
  
Ray
