libgdx rect ShapeType.Line incomplete -


i doing first steps libgdx , playing around rect.

i drawing filled rect , on top draw rect line. notice, scares drawed lines incomplete in corner.

when run app on android left lower corner missing, if run on desktop, left upper corner missing.

is error on side, feature or bug?

    int size = min(screenheight,screenwidth) / 2;      shaperenderer.begin(shapetype.filled);     shaperenderer.setcolor(color.purple);     shaperenderer.rect(10,10,size,size);     shaperenderer.end();      shaperenderer.begin(shapetype.line);     shaperenderer.setcolor(color.yellow);     int d = 10;     (int = 0; < size/4; i++) {         shaperenderer.rect(10+d+i,10+d+i,size-(d+i)*2,size-(d+i)*2);     }     shaperenderer.end(); 

incomplete rect libgdx


Comments

Popular posts from this blog

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -

angular - DownloadURL return null in below code -