Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.08 KB

File metadata and controls

44 lines (36 loc) · 1.08 KB

GetFillBack

Description

Procedure GetFillBack returns the fill background color of the referenced object. RGB values are in the range of 0~65535.

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

Parameters

Name Type Description
h HANDLE Handle to object.
red LONGINT Returns RGB color component value.
green LONGINT Returns RGB color component value.
blue LONGINT Returns RGB color component value.

Examples

VectorScript

GetFillBack(handleToObject,redValue,greenValue,blueValue);

Python

red_value, green_value, blue_value = vs.GetFillBack(vs.FSActLayer())

See Also

VS Functions: RGBToColorIndex | ColorIndexToRGB | GetFillFore | GetPenFore | GetPenBack

Version

Availability: from MiniCAD6.0

Category