equal
deleted
inserted
replaced
1 "{ Encoding: utf8 }" |
|
2 |
|
3 " |
1 " |
4 COPYRIGHT (c) 1989 by Claus Gittinger |
2 COPYRIGHT (c) 1989 by Claus Gittinger |
5 All Rights Reserved |
3 All Rights Reserved |
6 |
4 |
7 This software is furnished under a license and may be used |
5 This software is furnished under a license and may be used |
42 " |
40 " |
43 I represent a point in 2D space. Or I can be used to represent |
41 I represent a point in 2D space. Or I can be used to represent |
44 an extent (of a rectangle, for example), in which case my x-coordinate |
42 an extent (of a rectangle, for example), in which case my x-coordinate |
45 represents the width, and y-coordinate the height of something. |
43 represents the width, and y-coordinate the height of something. |
46 |
44 |
47 The x and y coordinate are usually numbers. |
45 The x and y coordinates are usually numbers. |
48 |
46 |
49 [Instance variables:] |
47 [Instance variables:] |
50 |
48 |
51 x <Number> the x-coordinate of myself |
49 x <Number> the x-coordinate of myself |
52 y <Number> the y-coordinate of myself |
50 y <Number> the y-coordinate of myself |
53 |
51 |
54 [author:] |
52 [author:] |
55 Claus Gittinger |
53 Claus Gittinger |
56 |
54 |
57 [see also:] |
55 [see also:] |
58 Rectangle Polygon |
56 Rectangle Polygon |
59 LayoutOrigin LayoutFrame AlignmentOrigin Layout |
57 LayoutOrigin LayoutFrame AlignmentOrigin Layout |
60 View GraphicsContext |
58 View GraphicsContext |
61 " |
59 " |
62 ! ! |
60 ! ! |
63 |
61 |
64 !Point class methodsFor:'initialization'! |
62 !Point class methodsFor:'initialization'! |
65 |
63 |