pythagoras.f

## Interface IRectangularShape

• ### Method Summary

All Methods
Modifier and Type Method and Description
`Point` `center()`
Returns the center of the framing rectangle.
`float` `centerX()`
Returns the x-coordinate of the center of the framing rectangle.
`float` `centerY()`
Returns the y-coordinate of the center of the framing rectangle.
`Rectangle` `frame()`
Returns a copy of this shape's framing rectangle.
`Rectangle` `frame(Rectangle target)`
Initializes the supplied rectangle with this shape's framing rectangle.
`float` `height()`
Returns the height of the framing rectangle.
`Point` `max()`
Returns the maximum x,y-coordinate of the framing rectangle.
`float` `maxX()`
Returns the maximum x-coordinate of the framing rectangle.
`float` `maxY()`
Returns the maximum y-coordinate of the framing rectangle.
`Point` `min()`
Returns the minimum x,y-coordinate of the framing rectangle.
`float` `minX()`
Returns the minimum x-coordinate of the framing rectangle.
`float` `minY()`
Returns the minimum y-coordinate of the framing rectangle.
`float` `width()`
Returns the width of the framing rectangle.
`float` `x()`
Returns the x-coordinate of the upper-left corner of the framing rectangle.
`float` `y()`
Returns the y-coordinate of the upper-left corner of the framing rectangle.
• ### Methods inherited from interface pythagoras.f.IShape

`bounds, bounds, contains, contains, contains, contains, intersects, intersects, isEmpty, pathIterator, pathIterator`
• ### Method Detail

• #### x

`float x()`
Returns the x-coordinate of the upper-left corner of the framing rectangle.
• #### y

`float y()`
Returns the y-coordinate of the upper-left corner of the framing rectangle.
• #### width

`float width()`
Returns the width of the framing rectangle.
• #### height

`float height()`
Returns the height of the framing rectangle.
• #### min

`Point min()`
Returns the minimum x,y-coordinate of the framing rectangle.
• #### minX

`float minX()`
Returns the minimum x-coordinate of the framing rectangle.
• #### minY

`float minY()`
Returns the minimum y-coordinate of the framing rectangle.
• #### max

`Point max()`
Returns the maximum x,y-coordinate of the framing rectangle.
• #### maxX

`float maxX()`
Returns the maximum x-coordinate of the framing rectangle.
• #### maxY

`float maxY()`
Returns the maximum y-coordinate of the framing rectangle.
• #### center

`Point center()`
Returns the center of the framing rectangle.
• #### centerX

`float centerX()`
Returns the x-coordinate of the center of the framing rectangle.
• #### centerY

`float centerY()`
Returns the y-coordinate of the center of the framing rectangle.
• #### frame

`Rectangle frame()`
Returns a copy of this shape's framing rectangle.
• #### frame

`Rectangle frame(Rectangle target)`
Initializes the supplied rectangle with this shape's framing rectangle.
Returns:
the supplied rectangle.