mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
FX - fix rect size
This commit is contained in:
@@ -658,8 +658,8 @@ public class PGraphicsFX2D extends PGraphics {
|
||||
protected void rectImpl(float x1, float y1, float x2, float y2) {
|
||||
// rect.setFrame(x1, y1, x2-x1, y2-y1);
|
||||
// drawShape(rect);
|
||||
if (fill) context.fillRect(x1, y1, x2, y2);
|
||||
if (stroke) context.strokeRect(x1, y1, x2, y2);
|
||||
if (fill) context.fillRect(x1, y1, x2 - x1, y2 - y1);
|
||||
if (stroke) context.strokeRect(x1, y1, x2 - x1, y2 - y1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user