VS:GetGradientSlider/ja

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

PROCEDURE GetGradientSlider(
dialogID  :LONGINT;
componentID  :LONGINT;
segmentIndex  :INTEGER;
VAR spotPosition  :REAL;
VAR midpointPosition  :REAL;
VAR red  :LONGINT;
VAR green  :LONGINT;
VAR blue  :LONGINT;
VAR opacity  :INTEGER);
def vs.GetGradientSlider(dialogID, componentID, segmentIndex):
    return (spotPosition, midpointPosition, red, green, blue, opacity)

Parameters

dialogID LONGINT ダイアログ番号
componentID LONGINT グラデーションスライダーアイテム番号
segmentIndex INTEGER 変化位置番号
spotPosition REAL 変化点の位置
midpointPosition REAL 変化の中心点の位置
red LONGINT 変化点の色の赤成分
green LONGINT 変化点の色の緑成分
blue LONGINT 変化点の色の青成分
opacity INTEGER 変化点の色の不透明度

Example

GetGradientSlider(dialogID, componentID, 4, spotPosition, midpointPosition, red, green, blue,opacity);

Version

Availability: from Vectorworks 2015

See Also

VS Functions:

VS:SetGradientSlider | VS:InsertGradientSliSeg

VS Functions:

[[VS:SetGradientSlider]]

| [[VS:InsertGradientSliSeg]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox
In other languages