VS:GetPenBack/ja

From Vectorworks Developer
Revision as of 10:31, 17 May 2013 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


Description

ハンドルで指定した図形の線の地色の成分を返します。値の範囲は0から65535までです。
PROCEDURE GetPenBack(
h  :HANDLE;
VAR red  :LONGINT;
VAR green  :LONGINT;
VAR blue  :LONGINT);
def vs.GetPenBack(h):
    return (red, green, blue)

Parameters

h HANDLE 図形のハンドル
red LONGINT 赤の成分
green LONGINT 緑の成分
blue LONGINT 青の成分

Example

PROCEDURE Example;
VAR
	h :HANDLE;
	r, g, b :LONGINT;
BEGIN
	h := FSActLayer;
	GetPenBack(h, r, g, b);
	Message('r= ', r, ' g= ', g, ' b= ', b);
END;
RUN(Example);

Version

利用可能バージョン: MiniCAD6.0

See Also

関連関数:

VS:RGBToColorIndex | VS:ColorIndexToRGB

関連関数:

[[VS:RGBToColorIndex]]

| [[VS:ColorIndexToRGB]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox
In other languages