drawTrext()

Home Forums General Programming drawTrext()

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29188
    zeoka
    Participant
      • Topics: 73
      • Replies: 466
      • Total: 539
      • ★★★

      Hi
      g:setColour(Colour(0x40000000))
      g:setFont(““,16,0,false)
      g:drawText(“NONE”,0,0,40,20,Justification.centred,false)

      No example in goole ,I’ve followed juce class but there is a syntax error
      I’m near but something is wrong

      #29198
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        you need to pass the Justification object, and Justufucation.centred is an integer so do:

        Justification (Justification.centred)

        #29199
        zeoka
        Participant
          • Topics: 73
          • Replies: 466
          • Total: 539
          • ★★★

          Hi Atom
          ok I understand
          Thank you

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The forum ‘Programming’ is closed to new topics and replies.
        There is currently 0 users and 52 guests online
        No users are currently active
        Forum Statistics
        Threads: 2,495, Posts: 17,374, Members: 77,605
        Most users ever online was 12 on January 22, 2019 3:47 pm
        Ctrlr