3.7.5.85 System.Polygon

Read and set polygon format options


LabTalk Object Type:

Utility

The polygon object is a subobject of the system object. The polygon object properties allow you to read and set polygon format options stored in the SYSTEM.CNF file. These properties are set in the user interface through the Object Properties dialog box. Note that setting these properties through script will overwrite the values in SYSTEM.CNF when the Origin session terminates.


Properties:

Property Access Description
System.polygon.backcolor Read/write
numeric

Fill color following the Origin color palette: 1 = black, 2 = red, 3 = green, 4 = blue, etc.

System.polygon.color Read/write
numeric

Border color following the Origin color palette: 1 = black, 2 = red, 3 = green, 4 = blue, etc.

System.polygon.fillPattern Read/write
numeric

Fill pattern by order on the Fill Pattern tab of Object Properties: 1 = none, 2 = dense, 3 = medium, etc.

System.polygon.fillWidth Read/write
numeric

Fill pattern width in point size.

System.polygon.forecolor Read/write
numeric

Pattern color following the Origin color palette: 1 = black, 2 = red, 3 = green, 4 = blue, etc.

System.polygon.linetype Read/write
numeric

Border type by order on the Border tab of Object Properties: 0 = solid, 1 = dash, 2 = dot, etc.

System.polygon.width Read/write
numeric

Border width in point size.

See Also:

Label, System.Circle, System.Line, System.Line4, System.Polyline, System.Rect