Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.GetFountainFillColor |
Function GetFountainFillColor(Index As Long, Position As Long, ColorModel As Long, V1 As Long, V2 As Long, V3 As Long, V4 As Long, V5 As Long, V6 As Long, Density As Long) As Long
Member of CorelScript
The GetFountainFillColor method returns a color from a fountain fill.
Parameter
|
Description
|
||||||||||||||||||||||||||||||||||||||||||
Index
|
Specifies the index number of the color. (To determine how many colors are in a fountain fill, use the CorelScript.GetFountainFill method.) Valid values range from 0 to the number of colors minus 1; a value of 100 specifies the end color.
|
||||||||||||||||||||||||||||||||||||||||||
Position
|
Specifies the position of the color within the fill
|
||||||||||||||||||||||||||||||||||||||||||
ColorModel
|
Specifies the numeric variable that is assigned to the desired color model. Valid values are as follows:
|
||||||||||||||||||||||||||||||||||||||||||
V1
|
Specifies the numeric variable that is assigned to the first color component of the selected color model. Valid values vary with the color model.
|
||||||||||||||||||||||||||||||||||||||||||
V2
|
Specifies the numeric variable that is assigned to the second color component of the selected color model. Valid values vary with the color model. If this parameter is not available in the specified color model, its value can be set to 0.
|
||||||||||||||||||||||||||||||||||||||||||
V3
|
Specifies the numeric variable that is assigned to the third color component of the selected color model. Valid values vary with the color model. If this parameter is not available in the specified color model, its value can be set to 0.
|
||||||||||||||||||||||||||||||||||||||||||
V4
|
Specifies the numeric variable that is assigned to the fourth color component of the selected color model. Valid values vary with the color model. If this parameter is not available in the specified color model, its value can be set to 0.
|
||||||||||||||||||||||||||||||||||||||||||
V5
|
Specifies the numeric variable that is assigned to the fifth color component of the selected color model. Valid values vary with the color model. If this parameter is not available in the specified color model, its value can be set to 0.
|
||||||||||||||||||||||||||||||||||||||||||
V6
|
Specifies the numeric variable that is assigned to the sixth color component of the selected color model. Valid values vary with the color model. If this parameter is not available in the specified color model, its value can be set to 0.
|
||||||||||||||||||||||||||||||||||||||||||
Density
|
Specifies the color density
|
Copyright 2013 Corel Corporation. All rights reserved.