Back to all rules
What this rule checks
Uses bezier curves (bezier(), bezierVertex(), etc.)
Configuration
When off, this rule is excluded from pipeline runs. Changes apply immediately.
Code Examples
PASS — this code satisfies the rule
void setup() {
  size(400, 400);
}

void draw() {
  background(255);
  noFill();
  arc(200, 220, 160, 100, 0, PI);  // the smile as an arc
}
FAIL — this code triggers the rule
void setup() {
  size(400, 400);
}

void draw() {
  background(255);
  noFill();
  bezier(120, 220, 160, 290, 240, 290, 280, 220);  // the smile as a bezier curve
}
Overview
Category Out of Scope
Type Custom Zita
Priority 3 (1 = highest, 5 = lowest)
Status Active
PMD Configuration
Java class nl.utwente.processing.pmd.rules.HasBezierRule
Message template Bezier curve usage found.