Difference: WidgetDropShadows (1 vs. 2)

Revision 22014-10-14 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPX510Features"

Drop Shadows

Line: 14 to 14
  @ Macro Specification:
Changed:
<
<
* Set Drop Shadow - @SDS={visible},{distance},{size},{opacity},{angle},{color}
>
>
* 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
Deleted:
<
<
  • Opacity - Integer between 0(transparent) and 100(opaque) - Default is 50
 
  • Angle - Integer between 0 and 360 - Default is 45
Added:
>
>
  • Opacity - Integer between 0(transparent) and 100(opaque) - Default is 50
 
  • Color - #COLOR value - Default is #000000
Examples:

Setting Opacity to 75%

Changed:
<
<
@SDS=,,,75
>
>
@SDS=,,,,75
  Setting Opacity to 75% and color to Red
Changed:
<
<
@SDS=,,,75,,#FF0000
>
>
@SDS=,,,,75,#FF0000
 

Comments:

Revision 12012-03-29 - PeteBrower

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="APPX510Features"

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},{opacity},{angle},{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
  • Opacity - Integer between 0(transparent) and 100(opaque) - Default is 50
  • Angle - Integer between 0 and 360 - Default is 45
  • 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.


<--/commentPlugin-->

-- PeteBrower - 2012-03-29

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback