Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
desktop:gradientselector [2017/04/09 21:29]
agcyphers
desktop:gradientselector [2019/10/23 05:53] (current)
Line 1: Line 1:
-====== See Also ======+==== See Also ====
 [[desktop:​gscolor|GSColor]] [[desktop:​gscolor|GSColor]]
  
-====== Enumerations ​======+==== Enumerations ====
 ^ Name      ^ Values ​      ^ ^ Name      ^ Values ​      ^
 |  | This class exposes no enumerations. | |  | This class exposes no enumerations. |
  
-====== Constants ​======+==== Constants ====
 ^ Name      ^ Type     ^ Value       ^ ^ Name      ^ Type     ^ Value       ^
 | StyleLinear | Integer | 0 | | StyleLinear | Integer | 0 |
 | StyleRadial | Integer | 1 | | StyleRadial | Integer | 1 |
  
-====== Events ​======+==== Events ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
 | AddMarker( MarkerPosition as Integer, byRef MarkerColor as Color ) | When a marker is added to the display by the user, this event will fire with the relevant information. | | AddMarker( MarkerPosition as Integer, byRef MarkerColor as Color ) | When a marker is added to the display by the user, this event will fire with the relevant information. |
Line 21: Line 21:
 | MarkerScaleChanged( Marker as GSColor, PreviousScale as Integer ) | Fires the user has changed the gradient scale for the specified marker. | | MarkerScaleChanged( Marker as GSColor, PreviousScale as Integer ) | Fires the user has changed the gradient scale for the specified marker. |
  
-====== Methods ​======+==== Methods ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
 | AddValue( newColor as Color, newPosition as Integer, newScale as Integer = 50 ) | Used to add a new color to the display at a specified position and with a specified scale. | | AddValue( newColor as Color, newPosition as Integer, newScale as Integer = 50 ) | Used to add a new color to the display at a specified position and with a specified scale. |
Line 36: Line 36:
 | UpdateValue( intIndex as Integer, newPosition as Integer ) | ::: | | UpdateValue( intIndex as Integer, newPosition as Integer ) | ::: |
  
-====== Properties ​======+==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
 | Angle | Integer | 0 | The angle of the gradient (0-359) | | Angle | Integer | 0 | The angle of the gradient (0-359) |
Line 50: Line 50:
 | ScaleMarkerBGColor | Color | &​c000000 | The background color used to display scale markers on the display. | | ScaleMarkerBGColor | Color | &​c000000 | The background color used to display scale markers on the display. |
 | ShowControls | Boolean | False | Determines whether markers are shown on the display. | | ShowControls | Boolean | False | Determines whether markers are shown on the display. |
-| Style | Integer | Determines the style of the gradient to be displayed. Constant values |+| Style | Integer ​| 0 | Determines the style of the gradient to be displayed. Constant values |
  
-====== Examples ​======+==== Examples ====
 There are currently no examples for this class. There are currently no examples for this class.