Examples of CanvasElement


Examples of com.google.gwt.dom.client.CanvasElement

            if (size < 2)
            {
                return;
            }
            CanvasElement element = layer.getCanvasElement();

            getElement().removeChild(element);

            getElement().appendChild(element);
View Full Code Here

Examples of com.google.gwt.dom.client.CanvasElement

            if (size < 2)
            {
                return;
            }
            CanvasElement element = layer.getCanvasElement();

            getElement().removeChild(element);

            getElement().insertFirst(element);
View Full Code Here

Examples of com.google.gwt.dom.client.CanvasElement

        }

        @Override
        public CanvasElement getCanvasElement()
        {
            CanvasElement element = null;

            if (LienzoGlobals.getInstance().isCanvasSupported())
            {
                element = super.getCanvasElement();
View Full Code Here

Examples of com.google.gwt.dom.client.CanvasElement

        @Override
        public void setPixelSize(int wide, int high)
        {
            if (LienzoGlobals.getInstance().isCanvasSupported())
            {
                CanvasElement element = getCanvasElement();

                element.getStyle().setPosition(Position.ABSOLUTE);

                element.getStyle().setDisplay(Display.INLINE_BLOCK);

                element.setWidth(wide);

                element.setHeight(high);

                super.setWidth(wide);

                super.setHeight(high);
            }
View Full Code Here

Examples of com.google.gwt.dom.client.CanvasElement

        }
        m_running = true;

        m_begtime = System.currentTimeMillis();

        final CanvasElement element = getCanvasElement();

        final AnimationCallback animate = new AnimationCallback()
        {
            @Override
            public void execute(double time)
View Full Code Here

Examples of elemental.html.CanvasElement

    addClassesToElement(elem, classNames);
    return elem;
  }

  public static CanvasElement createCanvas(String... classNames) {
    CanvasElement elem = getDocument().createCanvasElement();
    addClassesToElement(elem, classNames);
    return elem;
  }
View Full Code Here

Examples of elemental.html.CanvasElement

    addClassesToElement(elem, classNames);
    return elem;
  }

  public static CanvasElement createCanvas(String... classNames) {
    CanvasElement elem = getDocument().createCanvasElement();
    addClassesToElement(elem, classNames);
    return elem;
  }
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.