Squeak Class Documentation category index | class index  
 
PointArray
  category: Balloon-Collections
  superclass: IntegerArray
  subclasses:

This class stores 32bit Integer points in place. It is used to pass data efficiently to the primitive level during high-bandwidth 2D graphics operations.

instance methods
  accessing
  at:
at:put:
bounds
defaultElement
size

  converting
  asPointArray

class methods
  instance creation
  new:

instance methods
  accessing top  
 

at:

Return the element (e.g., point) at the given index


 

at:put:

Store the argument aPoint at the given index


 

bounds


 

defaultElement

Return the default element of the receiver


 

size

Return the number of elements in the receiver


  converting top  
 

asPointArray

Answer an PointArray whose elements are the elements of the receiver, in
the same order.


class methods
  instance creation top  
 

new:

Answer an instance of this class with the number of indexable
variables specified by the argument, sizeRequested.