RectSegment Class Documentation
class RectSegment : SegmentNamespace:com::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: doublethe left edge of the rectangle.
y: doublethe right edge of the rectangle.
width: doublethe width of the rectangle.
height: doublethe 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: Pointthe lower left corner of the rectangle.
width: doublethe width of the rectangle.
height: doublethe 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.
Member Function Documentation
delete
synchronized void delete(Boolean disposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized void delete()Returns:
synchronized voidfinalize
void finalize()Returns:
voidgetHeight
double getHeight()Returns:
doubleThe height of the rectangle.
getPoint
Point getPoint()Returns:
PointThe lower left corner of the rectangle.
getWidth
double getWidth()Returns:
doubleThe width of the rectangle.
setHeight
void setHeight(double value)Parameters
value: double
Returns:
voidThe height of the rectangle.
setPoint
void setPoint(Point value)Parameters
value: Point
Returns:
voidThe lower left corner of the rectangle.
setWidth
void setWidth(double value)Parameters
value: double
Returns:
voidThe width of the rectangle.
toString
String toString()Returns:
String