NetTalk Central

Author Topic: NetMaps how to use transparent in descriptions  (Read 5974 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
NetMaps how to use transparent in descriptions
« on: March 19, 2021, 12:28:55 PM »
Hi , using

  net.InfoBorderColor     = Color:Transparent
  net.InfoBackgroundColor = Color:Transparent
  net.InfoTitleFontColor  = color:black
  net.InfoDescriptionFontColor = color:blue

The description background goes black, see pic

How to? thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetMaps how to use transparent in descriptions
« Reply #1 on: March 21, 2021, 10:00:01 PM »
You are using layers here right?

Which "layer method" are you using? Index transparency or layer transparency?

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NetMaps how to use transparent in descriptions
« Reply #2 on: March 22, 2021, 10:43:38 AM »
No, in this case Im using the original NetMaps.clw and just changing the colors variables.
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetMaps how to use transparent in descriptions
« Reply #3 on: March 22, 2021, 11:35:24 PM »
then here is no transparent color.

I think in that case what you want to do is draw the labels, but without doing the background box.

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NetMaps how to use transparent in descriptions
« Reply #4 on: March 23, 2021, 03:28:04 AM »
You mean derive the entire DrawDescription method deleting the box drawing?
My only problem of doing this is that in a next template upgrade Ill miss your changes to the code.
But I dont know other way to do this.
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetMaps how to use transparent in descriptions
« Reply #5 on: March 29, 2021, 09:10:44 PM »
have you tried setting InfoBackgroundColor to color:none?
I'm not sure if that will help but it's worth a try.
Let me know.

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NetMaps how to use transparent in descriptions
« Reply #6 on: April 06, 2021, 02:37:19 PM »
Yes, it works, thanks
-----------
Regards
Alberto