Hi Pierre Hébert​

Hi Pierre Hébert​

I have an issue with drawArc

]]>

11 Commentsto Hi Pierre Hébert​

  1. Anonymous says:

    < ![CDATA[

    Here is the script



    var i = LL.getEvent().getItem();


    var image=LL.createImage(100,100);


    i.setBoxBackground(image,”n”);


    // create a paint object


    var p = new Paint();


    p.setColor(0xffffffff);


    p.setStyle(Paint.Style.STROKE);


    // retrieve the canvas


    var c = image.draw();


    // draw arc


    c.drawArc(0,0,100,100,0,180,false,p);


    // update so that changes are flipped to the screen


    image.update();

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Ligne is now 11


    Was 21 with spaces and comments



    Working fine on TrianguloY​​ device



    I’m using this script on a shortcut inside a folder

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Let’s explain a bit more right?


    I helped Bruno trying to draw an arc on a canvas.


    I edited a bit your canvas example, that script.


    It works for me, but no for him. And I don’t know why.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Damn u guys are too smart lmao… Don’t u jus love Lord Google’s horrendous blurry ass screen shots lmao

    ]]>

  5. Anonymous says:

    < ![CDATA[

    This method has been added in API 21 (lollipop). Try the alternate version which takes a RectF instead of separate value:


    http://developer.android.com/reference/android/graphics/Canvas.html#drawArc(android.graphics.RectF,%20float,%20float,%20boolean,%20android.graphics.Paint)

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Pierre Hébert​ ah ok


    I’m not on lollipop


    But soon



    So it will work with this instruction ?


     drawArc (RectF oval, float startAngle, float sweepAngle, boolean useCenter, Paint paint)


    ]]>

  7. Anonymous says:

    < ![CDATA[

    Yes, you just have to gather left, top, right and bottom in a rectangle. That’s just another way to pass arguments

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Ah! That’s why it worked for me.


    It is said…in a little text >_<


    Thanks

    ]]>

  9. Anonymous says:

    < ![CDATA[

    TrianguloY yes. Thank you for your help


    Pierre Hébert​ oval = left, top, right, bottom ?

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Bruno-Isa LAMOUR-ARNOULD​ just a question : what’s your rom?

    ]]>

  11. Anonymous says:

    < ![CDATA[

    Tesla rom 4.4.4

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *