Sie sind nicht angemeldet.

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

1

Freitag, 23. Juni 2017, 08:09

txtshadow not working?

Hotspot txtshadow isn't working the way I expect. From the docs:

Zitat

txtshadow="xoffset yoffset blur color alpha"

My code:

Quellcode

1
textshadow="0 0 30 #000000 1"

Instead of a blurred shadow the text has a one pixel outline. Making the blur 30px instead of 30 has no effect. Likewise, no setting of xoffset or yoffset has any effect. What am I doing wrong?

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

2

Freitag, 23. Juni 2017, 09:08

Hi)

It's just a typo, it should be:

Quellcode

1
txtshadow="0 0 30 0x000000 1"
, not 'TEXTshadow'.
;-)
Regards,

Alexey

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

3

Samstag, 24. Juni 2017, 04:19

It's just a typo

Welllll. Color me embarassed! Thanks Alexey!

4

Samstag, 24. Juni 2017, 12:52

Hi,

yes, this is unfortunately easy to mix-up - I wanted to keep compatibility with the old textfield version settings.

The name 'textshadow' was already in use there (and is still supported and working, just not documented in newer documentations anymore):
https://krpano.com/plugins/textfield/?version=118#textshadow

so a slightly other name 'txtshadow' was used instead:
https://krpano.com/plugins/textfield/?version=119#txtshadow

The old 'textshadow' settings were more oriented how the Flashplayer is working internal (with range+angle) and the new 'txtshadow' setting is oriented on HTML5. Both is working on both systems and there automatically converted to the internal API needs.

Best regards,
Klaus