Search Type: Posts; User: vega109

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Hello,
    I have an Ext3 application which I want to extend with Ext4 draw functionality. For that I use the sandbox. The problem is that I can't handle an event in Ext4 sent from Ext3 object. Any...
  2. This code is called from a button on click event handler.
  3. Hello,

    I have created a rectangle sprite with yellow fill and stroke but it shows a black one.


    new Ext.draw.Sprite( {
    type : "rect",
    surface : surface,
    opacity : .5,
    x : x,
  4. OK. I found a solution. This code works for both IE and FF. A new problem it rotates only the first sprite in the composite sprite group.


    spriteGroup.setAttributes( {
    rotate : {
    degrees :...
  5. I found a solution. Setup 360 degrees instead of 0.
  6. Hello,

    I have a problem with rotating a sprite.

    This code doesn't work in IE:

    sprite.setAttributes( {
    rotation : {
    degrees : angle
    }
  7. Hello,

    I'm getting the following error after a sprite rotating or scaling:



    This is code to rotate a sprite:


    var sprite = Ext.getCmp('draw-component').surface.items.first();
  8. Hello,

    I have a problem with a composite sprite in IE7.

    This is a composite sprite declaration:

    var spriteGroup = new Ext.draw.CompositeSprite( {
    id : 'sprite_group',
    surface:...
  9. I found a solution. Call show(true) after the sprite changes.


    var sprite = Ext.getCmp('draw-component').surface.items.first();
    sprite.setAttributes( {
    scale : {
    x : value,
    y : value...
  10. Replies
    0
    Views
    410
    Hello,

    Does draw.Sprite component support Invert functionality? If it doesn't, is there any way to implement it using ExtJS 4?

    Thank you.
  11. Hello,

    I'm working on image zoom in/out feature. There is a draw component with a image sprite inside:


    Ext.create('Ext.draw.Component', {
    id : 'draw-component',
    viewBox : false,
    width :...
  12. Replies
    2
    Views
    1,153
    Oops. I found the issue. I had to use 'rotate' attribute instead of 'rotation'.
  13. Replies
    2
    Views
    1,153
    Hello,

    I'm working on image rotating feature. I have a draw component that contains an image sprite.


    Ext.create('Ext.draw.Component', {
    id : 'draw-component',
    viewBox : false,
    width :...
  14. Replies
    5
    Views
    10,266
    Hello

    I need to provide users an ability to draw lines, arrows, rectangles, etc. Is it possible to do with ExtJS 4 OOTB functionality or I have to create a canvas inside a component.

    Thank you.
  15. Hello

    I can't put a text sprite on a surface dynamically.
    Thank you!


    var drawCmp = Ext.getCmp('draw-component');
    var surface = drawCmp.surface;

    new Ext.draw.Sprite({
  16. Hello

    I need to put a text sprite dynamically on a surface. I was able to put a path and a rectangle sprites but no luck with a text one. Thank you!


    var drawCmp =...
  17. Thanks for the description but styles still don't apply to the text and I still can't break one long line to several short lines.
  18. Hello

    I create a draw component with a text sprite inside. It display me wrong font style and size ignoring configured 'font' parameter.

    Also is it possible to break a text in several lines? ...
  19. Replies
    2
    Views
    2,324
    Thanks!
  20. Replies
    2
    Views
    2,324
    Hello

    I need to display a line as a sprite. I found a rectangle, circle, ellipse, and path sprite types but I didn't find a line. Is it possible to draw a line somehow?

    Thank you.
  21. Replies
    2
    Views
    3,728
    Hello

    Could you please explain me how Sprite scaling works? I tried this code but it didn't affect the sprite.
    My goal is provide zooming for a component image. Thanks!



    var sprite =...
  22. Hello

    I have a component that has a textarea inside. The problem is I can't type to this textarea. It works in IE but it doesn't in FF.


    new Ext.draw.Component({
    floating : true,...
  23. Hello

    I have the following code which works fine in FF but fails in IE.


    Ext.create('Ext.draw.Component', {
    id: 'draw-component',
    viewBox: false,
    width: 800,
    height: 1000,
  24. I have one Ext.draw.Component that has one image Stripe inside. I want to create more stripes dynamically. Like this:


    Ext.create('Ext.draw.Component', {
    id: 'draw-component',
    viewBox: false,...
  25. Hello

    I need to create and add new Stripes to Ext.draw.Component dynamically. Is any options to do that?

    Thank you.
Results 1 to 25 of 31
Page 1 of 2 1 2