add arc display for direction visualization
This commit is contained in:
parent
1361451d7b
commit
b7dd466f02
3 changed files with 3 additions and 3 deletions
|
|
@ -300,7 +300,7 @@ public class Direction extends Visualization {
|
|||
ellipseMode(RADIUS); //centerx, centery, width,height for ellipse
|
||||
ellipse(super.posOrigin.x, super.posOrigin.y, this.size,this.size);
|
||||
}else{
|
||||
arc(super.posOrigin.x, super.posOrigin.y, this.size*2,this.size*2, 0+this.angleoffset-PI, 2*PI+this.angleoffset-PI, PIE);
|
||||
arc(super.posOrigin.x, super.posOrigin.y, this.size*2,this.size*2, this.angleoffset+2*PI -this.minvisiblevalue/super.valueMin*PI, 2*PI+this.angleoffset +this.maxvisiblevalue/super.valueMax*PI, PIE);
|
||||
}
|
||||
|
||||
stroke(super.cmain);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue