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

SclGraphicsSetEdgeWeight

Overview

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

Synopsis

SclGraphicsSetEdgeWeight $weight

Description

Polygons have edges (the perimeter of the polygon) whose thickness can be controlled.

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 edges. A value of 2 will give an edge thickness approximately twice as thick as a value of 1.0.

Returns

Nothing.

Examples

SclGraphicsOpen mynode
  SclGraphicsSetEdgeWeight 1
  SclGraphicsSetEdgeWeight 2
SclGraphicsClose