Package processing.core

Examples of processing.core.PApplet.noFill()


          pa.noSmooth();
//      }
     
      //NOTE: if noFill() and noStroke()->absolutely nothing will be drawn-even when texture is set
      if (this.isNoFill()) 
        pa.noFill();
      else{
        MTColor fillColor = this.getFillColor();
        pa.fill(fillColor.getR(), fillColor.getG(), fillColor.getB(), fillColor.getAlpha());
      }
     
View Full Code Here


//        for (Vertex[] outline : this.outlineContours){
//          this.drawWithProcessing(pa, outline, PApplet.LINE, false);
//        }
//      }else{
      if (!this.isNoStroke()){
        pa.noFill();
        MTColor strokeColor = this.getStrokeColor();
        pa.stroke(strokeColor.getR(), strokeColor.getG(), strokeColor.getB(), strokeColor.getAlpha());
        pa.strokeWeight(2);
       
        if (this.isDrawSmooth())
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.