Rectangle Object

This object is used to create a new rectangle curve item.

Methods

Reset

Resets all internal settings to their default values.

 

Name ( name rectanglename )

Sets the name of the rectangle.

 

Curve ( name curvename  )

Sets the name of the curve for the new rectangle curve item. The curve must already exist.

 

Xrange ( double xmin, double xmax )

Sets the bounds for the x- or u-coordinate for the new rectangle, depending if a local coordinate system is active or not.

 

Yrange ( double ymin, double ymax )

Sets the bounds for the y- or v-coordinate for the new rectangle, depending if a local coordinate system is active or not.

 

Create

Creates a new rectangle curve item. All necessary settings for this rectangle have to be made previously.

Default Settings

Xrange (0.0, 0.0)

Yrange (0.0, 0.0)

Example

With Rectangle

     .Reset

     .Name "rectangle1"

     .Curve "curve1"

     .Xrange "-8.2", "-0.7"

     .Yrange "0.3", "a-0.9"

     .Create

End With