VS:SetMtlPenBackColor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (1 revision) |
(No difference)
|
Latest revision as of 15:48, 16 September 2020
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Sets the pen background color of the specified material. The color must be specified using the RGB components of the desired color. RGB values are in the range of 0~65535.
PROCEDURE SetMtlPenBackColor(
material :HANDLE;
color :LONGINT);
def vs.SetMtlPenBackColor(material, color): return None
Parameters
material HANDLE Handle to material. color LONGINT RGB color value.
Remarks
Sets the pen background color of the material.
Example
ColorIndexToRGB(214,cRed,cGrn,cBlu); SetMtlPenBackColor(mtlHandle,cRed,cGrn,cBlu);
Version
Availability: from Vectorworks 2021