ShapePolygon

Figure D-29: Visualization Browser with
ShapePolygon Properties Displayed

VizBrowserShapePolygon.gif

These properties control ShapePolygon visualizations. For each property, the type of control and the values that can be assigned are listed, along with the property identifier and allowed values for use by the iTools Procedural Interface. For a description of how a particular control is used, refer to Property Controls.

Table D-59: Property Settings for ShapePolygon 

Interface:
Property Name
Description
API:
Property Identifier
API:
Allowed Values

Color

Color: Color for the ShapePolygon line. Click to choose from the default color palette, or specify RGB values. Default = [0,0,0] (black)

COLOR

3D integer array of the form:

[R, G, B]

Each color value may range from 0 to 255.

Line style

Line Style: Style for the ShapePolygon line. Select a style from the list. Default = ShapePolygon-58.jpg(solid line)

LINESTYLE

An integer value specifying a predefined line style, or a two-element vector specifying a stippling pattern.

The predefined line styles are:

0 (Solid line--the default)

1 (Dotted)

2 (Dashed)

3 (Dash dot)

4 (Dash dot dot dot)

5 (Long dash)

6 (No line drawn)

To define your own stippling pattern, specify a two-element vector [repeat, bitmask], where repeat indicates the number of times consecutive runs of 1's or 0's in the bitmask should be repeated. (That is, if three consecutive 0's appear in the bitmask and the value of repeat is 2, the line will have six consecutive bits turned off.) The value of repeat must be in the range 1 <= repeat <= 255.

The bitmask indicates which pixels are drawn and which are not along the length of the line. Bitmask is most conveniently specified as a 16-bit hexadecimal value.

For example, LINESTYLE = [2, 'F0F0'X] describes a dashed line (8 bits on, 8 bits off, 8 bits on, 8 bits off).

Thickness

Line Thickness: Thickness for the ShapePolygon line. Select a thickness from the list. Default = 1

THICK

A floating-point value between 1.0 (the default) and 10.0.

Fill background

Boolean: Fill background? Choose True or False.

Default = False

FILL_BACKGROUND

0 (Do not fill background)

1 (Fill background)

Fill color

Color: Color for the ShapePolygon fill. Click to choose from the default color palette, or specify RGB values. Default = [255, 255, 255] (white)

FILL_COLOR

3D integer array of the form:

[R, G, B]

Each color value may range from 0 to 255.

Z value

Number: Z value of plane on to which to project the shape polygon visualization. Edit the number to change the value.

Note - If the Z value is zero then the shape polygon visualization is considered to be 2D. If the Z value is nonzero, then the shape polygon visualization is considered to be 3D, and the dataspace associated with this shape polygon will be automatically switched to 3D.

Default = 0

ZVALUE

Floating point

Transparency

Number: Transparency of the ShapePolygon fill from 0% to 100%. Move the slider to change the value. Default = 0

TRANSPARENCY

Integer from 0 to 100.