Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 971 Bytes

File metadata and controls

41 lines (32 loc) · 971 Bytes

GetMtlPenBackColor

Description

Returns the pen background color of the specified material. The color is returned as the RGB components of the color. RGB values are in the range of 0~65535.

PROCEDURE GetMtlPenBackColor(
				material  : HANDLE;
				VAR red   : LONGINT;
				VAR green : LONGINT;
				VAR blue  : LONGINT);
def vs.GetMtlPenBackColor(material):
    return (red, green, blue)

Parameters

Name Type Description
material HANDLE Handle to material.
red LONGINT Returns RGB color component (red).
green LONGINT Returns RGB color component (green).
blue LONGINT Returns RGB color component (blue).

Remarks

Returns the pen background color of the material in parameters colorRV, colorGV, and colorBV.

Examples

GetMtlPenBackColor(mtlHandle,cRed,cGrn,cBlu);
RGBToColorIndex(cRed,cGrn,cBlu,colorValue);

Version

Availability: from Vectorworks 2021

Category

  • Object Attributes