| Name: | Dimple |
| Version: | 1.0 |
| ID: | ID_DIMPLE |
| Status: | Stable |
| Category: | GUI |
| Date: | September 2004 |
| Author: | Rocklyte Systems |
| Copyright: | Rocklyte Systems (c) 2004. All rights reserved. |
| Short: | Overlays a dimple effect on drawable graphics. |
The Dimple class draws dot patterns to a drawable, using a set size for each dot and spacing inbetween them. The placing of the dots in the pattern can be perfectly linear (the default), or you can set the ALTERNATE flag to alternate the placement, creating a weaved pattern.
Using the Dimple class is simple - just set the Size of the dimples and the Spacing between them. For example:
<dimple size="3" spacing="6"/>
Enhanced features such as variable translucency are provided. The Dimple class supports the standard GUI constructs for graphics placement and declaring the size of the graphics area.
The Dimple object consists of the following public fields:
ColourRGB Defines the base colour of the object graphics. Colour String-based field for setting the base graphics colour. Frame Limits the drawing of the graphic to a single frame. Frames Determines a sequence of frames that a stripes graphic may be drawn to. Height The height of the ripple graphic is specified here. Opacity Determines the level of translucency applied to the dimples. Width The width of the ripple graphic is specified here. XCoord Defines the horizontal position of the ripple graphic. XOffset Defines the horizontal offset of the ripple graphic. YCoord Defines the vertical position of the ripple graphic. YOffset Defines the vertical offset of the ripple graphic.
| Field: | ColourRGB | |
| Short: | Defines the base colour of the object graphics. | |
| Type: | RGB | |
| Status: | Read | |
| ||
| Field: | Frame | |
| Short: | Limits the drawing of the graphic to a single frame. | |
| Type: | LONG | |
| Status: | Read/Write | |
| ||
| Field: | Frames | |
| Short: | Determines a sequence of frames that a stripes graphic may be drawn to. | |
| Type: | STRING | |
| Status: | Set | |
| ||
| Field: | Height | |
| Short: | The height of the ripple graphic is specified here. | |
| Type: | DOUBLE/PERCENTAGE | |
| Status: | Get/Set | |
| ||
| Field: | Opacity | |
| Short: | Determines the level of translucency applied to the dimples. | |
| Type: | FLOAT/PERCENTAGE | |
| Status: | Get/Set | |
| ||
| Field: | Width | |
| Short: | The width of the ripple graphic is specified here. | |
| Type: | DOUBLE/PERCENTAGE | |
| Status: | Get/Set | |
| ||
| Field: | XCoord | |
| Short: | Defines the horizontal position of the ripple graphic. | |
| Type: | DOUBLE/PERCENTAGE | |
| Status: | Get/Set | |
| ||
| Field: | XOffset | |
| Short: | Defines the horizontal offset of the ripple graphic. | |
| Type: | DOUBLE/PERCENTAGE | |
| Status: | Get/Set | |
| ||
| Field: | YCoord | |
| Short: | Defines the vertical position of the ripple graphic. | |
| Type: | DOUBLE/PERCENTAGE | |
| Status: | Get/Set | |
| ||
| Field: | YOffset | |
| Short: | Defines the vertical offset of the ripple graphic. | |
| Type: | DOUBLE/PERCENTAGE | |
| Status: | Get/Set | |
| ||