Examples of width()


Examples of caltrop.interpreter.InputPort.width()

    private void _commitInputChannels() {
        for (Iterator iterator = _inputPorts.values().iterator(); iterator
                .hasNext();) {
            InputPort inputPort = (InputPort) iterator.next();

            for (int i = 0; i < inputPort.width(); i++) {
                DFInputChannel c = (DFInputChannel) inputPort.getChannel(i);
                c.commit();
            }
        }
    }
View Full Code Here

Examples of com.cloudinary.Transformation.width()

  public void testGetUploadPreset() throws Exception {
    // should allow getting a single upload_preset
    String[] tags = { "a", "b", "c" };
    Map context = Cloudinary.asMap("a", "b", "c", "d");
    Transformation transformation = new Transformation();
    transformation.width(100).crop("scale");
    Map result = api.createUploadPreset(Cloudinary.asMap("unsigned", true,
        "folder", "folder", "transformation", transformation, "tags",
        tags, "context", context));
    String name = result.get("name").toString();
    Map preset = api.uploadPreset(name, Cloudinary.emptyMap());
View Full Code Here

Examples of com.google.gwt.query.client.GQuery.width()

        }

        GQuery div = $("<div />").attr("style", styleBlock.toString()).text(searchField.val());
        $("body").append(div);

        int w = div.width() + 25;
        div.remove();

        if (w > fWidth - 10) {
            w = fWidth - 10;
        }
View Full Code Here

Examples of com.google.gwt.resources.client.AutoConversionBundle.ConstantConditional.width()

    ConstantConditional constantConditional = res().constantConditional();

    String expectedCss = "." + constantConditional.foo() + "{width:15px;height:10px;color:black}";
    assertEquals(expectedCss, constantConditional.getText());
    assertEquals("black", constantConditional.color());
    assertEquals(15, constantConditional.width());
    assertEquals(10, constantConditional.height());
  }

  public void testLenientExternal() {
    LenientExternal lenientExternal = res().lenientExternal();
View Full Code Here

Examples of com.google.gwt.resources.client.gss.AutoConversionBundle.ConstantConditional.width()

    ConstantConditional constantConditional = res().constantConditional();

    String expectedCss = "." + constantConditional.foo() + "{width:15px;height:10px;color:black}";
    assertEquals(expectedCss, constantConditional.getText());
    assertEquals("black", constantConditional.color());
    assertEquals(15, constantConditional.width());
    assertEquals(10, constantConditional.height());
  }

  public void testLenientExternal() {
    LenientExternal lenientExternal = res().lenientExternal();
View Full Code Here

Examples of com.google.gwt.safecss.shared.SafeStylesBuilder.width()

    return image.getElement();
  }

  public SafeHtml getSafeHtml(SafeUri url, int left, int top, int width, int height) {
    SafeStylesBuilder builder = new SafeStylesBuilder();
    builder.width(width, Unit.PX).height(height, Unit.PX).trustedNameAndValue("background",
        "url(" + url.asString() + ") " + "no-repeat " + (-left + "px ") + (-top + "px"));

    return getTemplate().image(clearImage,
        SafeStylesUtils.fromTrustedString(builder.toSafeStyles().asString()));
  }
View Full Code Here

Examples of com.googlecode.javacv.cpp.opencv_core.CvRect.width()

                    // We iterate over the discovered faces and draw yellow rectangles 
                    // around them.
                    for (int i = 0; i < faces.total(); i++) {
                        CvRect r = new CvRect(cvGetSeqElem(faces, i));
                        cvRectangle(frame, cvPoint(r.x(), r.y()),
                                cvPoint(r.x() + r.width(), r.y() + r.height()),
                                CvScalar.YELLOW, 1, CV_AA, 0);
                       
                    }
                }
                canvasFrame.showImage(frame);
View Full Code Here

Examples of com.googlecode.javacv.cpp.opencv_core.IplImage.width()

    grabber.start();
    int numOfFrames = 0;
    int maxFramesIn10Seconds = 100;
    IplImage currFrame = grabber.grab();
    int height = currFrame.height();
    int width = currFrame.width();
    try {
      while (numOfFrames < maxFramesIn10Seconds) {
        if (currFrame != null) {
          String i = "" + numOfFrames;
          if (numOfFrames < 10) {
View Full Code Here

Examples of com.lowagie.text.Image.width()

                String savePathImage = FileHelper.getCurrentPath(request) + levelPlan.getWayToLevelPlanImage();

                byte[]  bytes = createImage(levelPlan.getWayToLevelPlan(), levelPlan.getWayToLevelPlanImage(), FileHelper.getCurrentPath(request));

                Image image = Image.getInstance(savePathImage);
                newInformation += ReportUtil.createPhoto("CompanyLicense", image.height(), image.width(), savePathImage);
                ReportUtil.insertImage(savePathImage,bytes, template);
                result += newInformation;


            }
View Full Code Here

Examples of com.lowagie.text.Rectangle.width()

            try
            {
                if ( currentField.getType().equals( Rectangle.class ) )
                {
                    Rectangle fPageSize = (Rectangle) currentField.get( null );
                    if ( ( rect.width() == fPageSize.width() ) && ( rect.height() == fPageSize.height() ) )
                    {
                        return currentField.getName();
                    }
                }
            }
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.