VS:InsertGradientSliSeg/ja
Jump to navigation
Jump to search
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
FUNCTION InsertGradientSliSeg(
dialogID :LONGINT;
componentID :LONGINT;
spotPosition :REAL;
red :LONGINT;
green :LONGINT;
blue :LONGINT;
opacity :INTEGER) : INTEGER;
def vs.InsertGradientSliSeg(dialogID, componentID, spotPosition, red, green, blue, opacity): return INTEGER
Parameters
dialogID LONGINT ダイアログ番号 componentID LONGINT グラデーションスライダーアイテム番号 spotPosition REAL 変化点の位置(0.0以上1.0以下) red LONGINT 変化点の色の赤成分(0以上255以下) green LONGINT 変化点の色の緑成分(0以上255以下) blue LONGINT 変化点の色の緑成分(0以上255以下) opacity INTEGER 変化点の色の不透明度
Return Value
グラデーションスライダに新しい変化点を挿入し、変化点の番号を返します。 指定した値でそのデータを初期化します。
Example
segmentIndex := InsertGradientSliSeg(dialogID, componentID, 0.4, 255, 255, 255, 100);
Version
Availability: from Vectorworks 2015
See Also
VS Functions:
VS:GetGradientSlider | VS:SetGradientSlider
VS Functions:
[[VS:GetGradientSlider]]
| [[VS:SetGradientSlider]]