HISE Logo Forum
    • Categories
    • Register
    • Login

    Drop Shadows || Can we do drop shadows for text?

    Scheduled Pinned Locked Moved Scripting
    4 Posts 1 Posters 17 Views
    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.
    • ChazroxC
      Chazrox
      last edited by Chazrox

      How can we do drop shadows for text fill paths?

      Can we LAF something like this?

      22-21_inset_typography_19.jpg

      1 Reply Last reply Reply Quote 0
      • ChazroxC
        Chazrox
        last edited by

        I found it...

        Link Preview Image
        Drop Shadow for Text

        Yes, this should work: const var Panel1 = Content.getComponent("Panel1"); Panel1.setPaintRoutine(function(g) { g.setColour(Colours.red); g.setFont("Lato B...

        favicon

        Forum (forum.hise.audio)

        1 Reply Last reply Reply Quote 0
        • ChazroxC
          Chazrox
          last edited by

          leavin this the next doof who didnt search the docs first.

          g.drawAlignedTextShadow("funky", this.getLocalBounds(0), "centred", { "Colour": Colours.green, "Offset": [2, 2], "Radius": 0});
          
          1 Reply Last reply Reply Quote 0
          • ChazroxC
            Chazrox
            last edited by

            I love it when we work together.

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

            37

            Online

            1.8k

            Users

            12.2k

            Topics

            106.1k

            Posts