Table of Contents

Constructor DisplayStyle

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

DisplayStyle(int, double, double[])

Makes a style.

public DisplayStyle(int rgb, double lineWeight, double[] dashes)

Parameters

rgb int

The colour as 0xRRGGBB.

lineWeight double

The line weight in millimetres, nought for the thinnest line.

dashes double[]

The dash pattern in drawing units, as on and off lengths in turn (an on length of nought is a dot); null for a continuous line.