Examples of Line


Examples of DisplayProject.controls.Line

        }
        return qq_aLine;
    }

    public void setqq_aLine(Line value) {
        Line oldValue = qq_aLine;
        qq_aLine = value;
        this.qq_Listeners.firePropertyChange("qq_aLine", oldValue, value);
    }
View Full Code Here

Examples of VisualLogic.Line

            p.y=y;
        }
       
        boolean isIn=false;
       
        Line line=vmobject.getLineInNaehe(new Point(x,y));
       
        if (line!=null)
        {
           
            if (line.getDirection()==Line.VERTIKAL) // Vertikal
            {
                if (hasLastPoint==false)
                {
                    hasLastPoint=true;
                    int x1=line.myStart.x;
View Full Code Here

Examples of asia.redact.bracket.properties.big.Line

    list = new ArrayList<PropertiesToken>();
  }
 
  public void lex(){
    try {
      Line line = null;
      while((line = scanner.line())!=null){
        if(line.isPrivateComment())continue;
        list.addAll(line.tokens());
      }
    }finally{
      list.add(PropertiesToken.eof());
    }
  }
View Full Code Here

Examples of asia.redact.bracket.properties.line.Line

 
  public void parse(){
   
    try {
    lock.lock();
      Line line = null;
      String key = null;
      BasicValueModel model = new BasicValueModel();
      boolean hasContinuation=false;
      while((line =scanner.line())!=null){
        if(hasContinuation){
          model.addValue(line.logicalLineContents());
          if(line.hasContinuation()){
            continue;
          }else{
            hasContinuation=false;
          }
        }
        if(line.isEmptyLine())continue;
        if(line.isPrivateComment())continue;
        if(line.isCommentLine()){
          if(key !=null){
            props.getPropertyMap().put(key, model);
            key=null;
            model=new BasicValueModel();
          }
          model.addComment(line.commentContents());
          continue;
        }else if(line.isNaturalLine()){
          if(key !=null){
            props.getPropertyMap().put(key, model);
            key=null;
            model=new BasicValueModel();
          }
          String [] parts = line.naturalLineContents();
          key = parts[0];
          model.setSeparator(parts[1].charAt(0));
          hasContinuation=line.hasContinuation();
          model.addValue(parts[2]);
         
        }
      }
      // last one
View Full Code Here

Examples of br.com.objectos.comuns.io.Line

    Iterator<Line> iterator = arquivo.iterator();

    assertTrue(iterator.hasNext());

    Line linha = iterator.next();
    assertEquals(linha.column(1).get(String.class), "BR MALLS PARTICIPAÇOES S.A.");
  }
View Full Code Here

Examples of ch.blackspirit.graphics.Line

    GL2 gl = drawable.getGL().getGL2();
    Vector2f p;
    if(useColor) {
      Color4f c;
      for(int i = 0; i < lines.length; i++) {
        Line l = lines[i];
        if(l == null) continue;

        p = l.getPoint(0);
        c = l.getColor(0);
        if(c == null) c = color;
        gl.glColor4f(c.x, c.y, c.z, c.w);
          gl.glVertex2f(p.x, p.y);
 
          p = l.getPoint(1);
        c = l.getColor(1);
        if(c == null) c = color;
        gl.glColor4f(c.x, c.y, c.z, c.w);
          gl.glVertex2f(p.x, p.y);
      }
      // reset color;
      applyColor();
    } else {
      for(int i = 0; i < lines.length; i++) {
        Line l = lines[i];
        if(l == null) continue;

        p = l.getPoint(0);
          gl.glVertex2f(p.x, p.y);
         
          p = l.getPoint(1);
          gl.glVertex2f(p.x, p.y);
      }
    }
  }
View Full Code Here

Examples of ch.blackspirit.graphics.shape.Line

    context.draw();
  }

  @Test
  public void drawLineWithColor() {
    final Line lines = getLine(false);
    context.setGraphicsListener(new GraphicsListener() {
      public void draw(View view, Graphics graphics) {
        graphics.clear();
        graphics.drawLine(lines, true);
      }
View Full Code Here

Examples of chunmap.model.elem.Line

   * {@link chunmap.model.elem.Line#getY(double)} 的测试方法。
   */
  @Test
  public void testGetY() {
    // y=4x+1
    Line l1 = new Line(4, 1);
    double y1 = l1.getY(2);
    assertTrue(y1 == 9);
  }
View Full Code Here

Examples of com.ardor3d.scenegraph.Line

            final ReadOnlyColorRGBA color, final short pattern, final boolean drawOriginConnector) {
        if (lineFrustum == null) {
            final FloatBuffer verts = BufferUtils.createVector3Buffer(24);
            final FloatBuffer colors = BufferUtils.createColorBuffer(24);

            lineFrustum = new Line("Lines", verts, null, colors, null);
            lineFrustum.getMeshData().setIndexModes(
                    new IndexMode[] { IndexMode.LineLoop, IndexMode.LineLoop, IndexMode.Lines, IndexMode.Lines });
            lineFrustum.getMeshData().setIndexLengths(new int[] { 4, 4, 8, 8 });
            lineFrustum.setLineWidth(2);
            lineFrustum.getSceneHints().setLightCombineMode(LightCombineMode.Off);
View Full Code Here

Examples of com.asakusafw.compiler.trace.testing.SimpleOperatorFactory.Line

    }

    @Override
    protected void describe() {
        SimpleOperatorFactory f = new SimpleOperatorFactory();
        Line line = f.line(in);
        out.add(line.out);
    }
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.