Table of Contents

Method ColorOn

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ColorOn(int)

Gets the colour of the markers on a background, as 0xRRGGBB: AutoCAD's yellow, 0xFFFF00, on a dark one, and a dark grey, 0x1A1A1A, on a light one, where yellow would not show; a background is light where its luminance passes half.

public static int ColorOn(int background)

Parameters

background int

The background, as 0xRRGGBB.

Returns

int

The colour.