/usr/share/SuperCollider/HelpSource/Classes/Rect.schelp is in supercollider-common 1:3.6.3~repack-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | class:: Rect
summary:: Rectangle
categories:: Geometry
ClassMethods::
method::new
Return a new Rect with the given upper left corner and dimensions.
method::newSides
Return a new Rect with the given boundaries.
method::fromPoints
Return a new Rect defined by the given Points.
InstanceMethods::
method::left
Get or set the value of the boundary.
method::top
Get or set the value of the boundary.
method::right
Get the value of the boundary.
method::bottom
Get the value of the boundary.
method::set
Set the boundaries to the given values.
method::setExtent
Set the dimensions.
method::width
Set or get the width.
method::height
Set or get the height.
method::origin
Return the upper left corner as a Point.
method::extent
Return a Point whose x value is the height and whose y value is the width.
method::leftTop
Return the upper left corner as a Point.
method::rightTop
Return the upper right corner as a Point.
method::leftBottom
Return the lower left corner as a Point.
method::rightBottom
Return the lower right corner as a Point.
method::moveBy
Returns a new Rect which is offset by x and y.
method::moveTo
Returns a new Rect whose upper left corner is moved to (x, y).
method::moveToPoint
Returns a new Rect whose upper left corner is moved to aPoint.
method::resizeBy
Returns a new Rect whose dimensions have been changed by (x, y).
method::resizeTo
Returns a new Rect whose dimensions are (x, y).
method::insetBy
Returns a new Rect whose boundaries have been inset by (x, y). If only one argument is supplied, it will be used for both x and y.
method::insetAll
Returns a new Rect whose boundaries have been inset by the given amounts.
method::contains
Answers whether aPoint is in the receiver.
method::union, |
Returns a new Rect which contains the receiver and aRect.
method::sect, &
Returns a new Rect which is the intersection of the receiver and aRect.
|