You are here: Surpac Concepts > Macros > SCL > SCL Graphics Drawing > SclGraphicsSetLineWeight
GEOVIA Surpac

SclGraphicsSetLineWeight

Overview

The thickness of the lines that are used to draw a polyline can be defined as a numerical value.

Synopsis

SclGraphicsSetLineWeight $weight

Description

Polylines consist of a number of discrete line segments. The thickness of these lines is controlled with the line weight setting.

Arguments

  • weight
  • Pass by value. Thickness values must be >= 1.0. A value of 1.0 is the thickness of the thinnest line that can be drawn, 1 pixel wide. Larger values create thicker lines. A value of 2 will give a line thickness approximately twice as thick as a value of 1.0.

Returns

Nothing.

Examples

SclGraphicsOpen mynode
  SclGraphicsSetLineWeight 1
  SclGraphicsSetLineWeight 2
SclGraphicsClose