|
Property Name
|
Description
|
Type
|
Values
|
|
Image
|
Determines the type of background image that is mapped to a Component
|
string
|
null = no image
default = internal vector based URL = external JPG or SWF |
|
BorderRadius
|
Determines how rounded the corners of the default vector-based image will be.
|
CSV percentiles
|
0-100 [, 0-100, 0-100, 0-100]
0 => square corners |
|
BorderColour
|
Determines the colour of the default vector-based image border
|
integer
|
0 - 0xFFFFFF
|
|
BorderWeight
|
Determines the weight of the default vector-based image border
|
percentile
|
0 - min(Width,Height)
|
|
Colours
|
Determines the fill colours of the default vector-based image
|
CSV integers
|
0 - 0xFFFFFF [,0 - 0xFFFFFF]
|
Detail
The Majority of Pollstar100 Components can have an image or images mapped to them. The following Properties provide the designer with the means to specify how and what image data is mapped to a Component.
Image
Use this Property to define the source of any image data that is to be mapped to a Component. Image data can come from an internal or an external source. There are three basic types of image:
| · | None: Set the Image Property value to zero if no image data is to be provided.
|
|
|
| · | Default: this makes use of the inbuilt Flash vector-based graphics functionality. It's simple and there is of course nothing to download. Set the Image Property value to "default" if you wish to provide an internal default vector-based image.
|
|
|
| · | External custom-defined image: the designer provides an absolute or partial URL for the location of an external SWF or JPG image resource. Partial URLs are relative to the location of the HTML page containing the embedded Pollstar100 Application.
|
Default Images
The following Properties affect the appearance of the default vector-based image only. If the designer chooses to provide their own external image these Properties will have no effect.
BorderRadius
Use this Property to specify how rounded each corner of the Component will be. The Property value can be either of the following:
| · | a single integer. Each corner of the Component will have be rounded by the same amount; a value of zero will cause the Component to have right-angled corners.
|
| · | a comma separated list of up to four percentile integers. Each integer is a percentile that defines the top-left, top-right, bottom-right and bottom left corners respectively. Any more than four integers will be ignored; two or three integers will cause the unspecified corners to have right-angled corners.
|
BorderWeight
If this Property is greater than zero then the Component will have a border line.
BorderColour
If the Component has a border line, this Property can be used to specify the colour of the border line.
Colours
Use this Property to specify the background fill colour(s) of a Component. The Property value can be either a single integer or a comma separated list of up to two integers. In the latter case the Component background will be gradient filled from left to right with the first integer in the list being the left hand colour and the second being the right hand colour.
Scope
The Properties listed in this section are defined as attributes of the XML tag corresponding to the following Components:
The Main Stage
Textboxes:
The Title Textbox
The Page Textbox
The Grand Total Textbox
The Top Dog Textbox
The Average Textbox
Generic Textboxes
Controls:
The Designer Logo Control
The Radios Control
The Vote Control
The Page Controls
The Scroll Controls
The View Controls
The Column Controls
The Filter Controls
Generic Controls
Generic Column Controls
Generic Filter Controls
Panels:
The Radios Panel
The Resources Panel
The Descriptions Panel
The Dates Panel
The Graph Panels
The Totals Panel
The Pollstars Panel
Generic Text Panels
Generic Resource Panels
Generic Dates Panels
Related Topics
Control Image Properties
Image Opacity Properties





