O'Reilly logo

Ext JS 4 First Look by Loiane Groner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Ext draw package

The draw package contains 7 classes to help you create graphics in Ext JS 4, which are: Surface, engine.Svg, engine.Vml, Component, CompositeSprite, Color, and Sprite.

The Surface class contains methods to render Sprite objects or Sprite groups (CompositeSprite) and contains listeners to respond to mouse interactions; it also provides methods to animate. A Sprite is a two-dimensional image or animation that is integrated into a larger scene.

The Surface class has two concrete implementations—Svg and Vml. The Svg class provides methods to draw with a SVG engine (Scalable Vector Graphics ), for SVG-capable browsers. The Vml class provides methods to draw with a VML engine ( Vector Markup Language), for the Internet Explorer browser ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required