| Did you know ... | Search Documentation: |
| Send methods |
<-x
and area<-y
of the area such that the area<-center of
the area matches the argument point.
->set->set:
0, 0, 0, 0. Note that an area with area<-width
or
area<-height
equal contain no pixels and area->union
with such an area is a no-op.
->union<-width
and area<-height
such that area<-corner
matches the argument point. Its graphical->corner
counterpart is sometimes used to implement resizing.
<-corner->normalise),
this implies:
<-width := <-width - 2*<arg> <-x := <-x + <arg>
and similar for area<-y
and area<-height.
Deals properly with non-normalised areas.
->resize ->increase->normalise.->inside->decrease.
->decrease->in,
graphical->in_event_area
and area->overlap.
<-inside->inside
both area's. To get the intersection without modifying either of the
areas, use
area<-intersection.
Fails without modifying the area if the areas do not
area->overlap.
->overlap <-intersection->orientation:
north_west.
<-normalised ->orientation <-x, area<-y, area<-width
and area<-height.
The point (area<-x, area<-y)
is called the origin or area<-position.
Either or both
area<-width
and area<-height
(together representing area<-size)
may be negative. This method manipulates one or both of the pairs area<-x/area<-width
or
area<-y/area<-height
such that the origin becomes the indicated corner.
The call area->orientation:
north_west is equivalent to area->normalise.
area ->orientationarea ->widtharea ->heightnorth_west >= 0 >= 0 south_west >= 0 < 0 north_east < 0 >= 0 south_east < 0 < 0
<-distance
returns 0 and area->intersection
computes the common pixels.
->intersection <-distance<-x
and area<-y
from the corresponding values of the point
object.<-x
:= area<-x
+ point<-x
and area<-y
:= area<-y
+ point<-y.<-x, area<-y, area<-width
and area<-height
from the 4 integer arguments. Any argument that is @default
will not cause the corresponding parameter to be changed.->width
and area->height
from the corresponding size parameters.<-union
computes the same without changing either of the area
objects.
<-union ->clear