Tags:
create new tag
view all tags

Drop Shadows

You can easily add drop shadow effects to your widgets.


Overview:

All widget types now support a drop-shadow effect. You have full control over the color, distance, angle, size, and opacity of the shadow.

This option is specified as an @ macro entered into the Label or Tooltip widget fields.

Usage:

@ Macro Specification:

* Set Drop Shadow - @SDS={visible},{distance},{size},{angle},{opacity},{color}

All of these parameters are not required and all have default values. You only need to provide parameters up to the last parameter you want to override. If you have parameters in the middle of the list you do not care to override you can just put the comma with no value for that position. Here are the default values for each parameter.

  • Visible - Boolean - T or F, Default is T
  • Distance - Integer - default is 25
  • Size - Integer - Default is value of Distance
  • Angle - Integer between 0 and 360 - Default is 45
  • Opacity - Integer between 0(transparent) and 100(opaque) - Default is 50
  • Color - #COLOR value - Default is #000000
Examples:

Setting Opacity to 75%

@SDS=,,,,75

Setting Opacity to 75% and color to Red

@SDS=,,,,75,#FF0000

Comments:

Read what other users have said about this page or add your own comments.


-- PeteBrower - 2012-03-29

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2018-01-29 - AlKalter
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback