RectSegment Class Documentation

class RectSegment : Segment

Namespace:Datalogics::PDFL

Inherits from:
Segment

Detailed Description

A rectangle path operator.

RectSegment represents a single path, or line, within a rectangle, with coordinates xy, xy for the beginning and end of the line.

Uses types

Constructor & Destructor Documentation

RectSegment

RectSegment(double x, double y, double width, double height)

Parameters

x: double

the left edge of the rectangle.

y: double

the right edge of the rectangle.

width: double

the width of the rectangle.

height: double

the height of the rectangle.

Append a rectangle to the current path as a complete subpath, with lower-left corner (x, y) and dimensions width and height in user space.

RectSegment

RectSegment(Point point, double width, double height)

Parameters

point: Point

the lower left corner of the rectangle.

width: double

the width of the rectangle.

height: double

the height of the rectangle.

Append a rectangle to the current path as a complete subpath, with lower-left corner point and dimensions width and height in user space.

Property Documentation

Height

double Height[get, set]

The height of the rectangle.

Point

Point Point[get, set]

The lower left corner of the rectangle.

Width

double Width[get, set]

The width of the rectangle.

Member Function Documentation

Dispose

void Dispose()

Returns:

void

ToString

override string ToString()

Returns:

override string