🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5Dial drawEllipseArc does not fill the arc

    Arduino
    2
    2
    281
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JeroenDP
      last edited by

      Hi all,
      I have created some nice icons (ellipsed icons) and want to place a think ellipse around them when selected. I found the great M5Dial GFX documentation and found the ellipsedArc function. That seems to work file if the line should be two pixels thick. But when I set the inner and outer radius 3 pixels apart the mid pixels are not drawn. So the background comes through the mid part of the circle.
      What am I missing?
      To fix it, I just draw three circles to overcome this problem, but that's not great!

      robskiR 1 Reply Last reply Reply Quote 0
      • robskiR
        robski @JeroenDP
        last edited by

        @JeroenDP i would recommend checking VolosR on YT and his ui approach - very informative

        M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

        1 Reply Last reply Reply Quote 0
        • First post
          Last post