Returns the fill background color setting of the specified class. The color is returned as the three RGB components of the color. RGB values are in the range of 0~65535.
PROCEDURE GetClFillBack(
className : STRING;
VAR colorRV : LONGINT;
VAR colorGV : LONGINT;
VAR colorBV : LONGINT);def vs.GetClFillBack(className):
return (colorRV, colorGV, colorBV)| Name | Type | Description |
|---|---|---|
| className | STRING | Name of class. |
| colorRV | LONGINT | Returns RGB color component (red). |
| colorGV | LONGINT | Returns RGB color component (green). |
| colorBV | LONGINT | Returns RGB color component (blue). |
Returns the fill background color setting of the class named className in parameters colorRV, colorGV, and colorBV.
PROCEDURE Example;
VAR
cRed, cGrn, cBlu : LONGINT;
colorValue : INTEGER;
BEGIN
GetClFillBack('Grassy Cover',cRed,cGrn,cBlu);
RGBToColorIndex(cRed,cGrn,cBlu,colorValue);
Message(colorValue);
END;
RUN(Example);Availability: from VectorWorks8.0