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

SclGraphicsSetEdgePattern

Overview

Set the pattern with which edges of polygons are to be drawn.

Synopsis

SclGraphicsSetEdgePattern $pattern

Description

Polygons have edges (the perimeter of the polygon) which can have a pattern consisting of a variety of dots and dashes. The pattern is defined using a symbolic representation of dots and dashes and in some cases names.

Arguments

  • pattern
  • Pass by value. Permitted values for pattern include:

    • "---" A solid line.
    • "- -" A simple dashed line.
    • "...." A dotted line.
    • "-.-." Dashes and dots alternating.
    • "-..-.." Dashes and double-dot alternating.
    • "-..." Dashes and triple-dot alternating.
    • "---- ----" Long dashes.
    • "center" Very-long-dash and short-dash alternating.
    • "phantom" Very-long-dash and double-short-dash alternating.

Returns

Nothing.

Examples

SclGraphicsOpen mynode
  SclGraphicsSetEdgePattern "---"
  SclGraphicsSetEdgePattern phantom
SclGraphicsClose