Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 1.08 KB

File metadata and controls

45 lines (37 loc) · 1.08 KB

GetFillFore

Description

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

PROCEDURE GetFillFore(
				h         : HANDLE;
				VAR red   : LONGINT;
				VAR green : LONGINT;
				VAR blue  : LONGINT);
def vs.GetFillFore(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

GetFillFore(handleToObject,redValue,greenValue,blueValue);

Python

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

See Also

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

Version

Availability: from MiniCAD6.0

Category