Next: , Previous: , Up: BLOX.BCanvasObject   [Index]


1.7.2 BLOX.BCanvasObject: accessing

blox

Answer the parent canvas of the receiver

boundingBox

Answer a Rectangle enclosing all of the receiver

color

Answer the color to be used to fill this item’s area.

color: color

Set the color to be used to fill this item’s area.

copyInto: newCanvas

Answer a new BCanvasObject identical to this but displayed into another canvas, newCanvas. The new instance is not created at the time it is returned.

copyObject

Answer a new BCanvasObject identical to this. Unlike #copy, which merely creates a new Smalltalk object with the same data and referring to the same canvas item, the object created with #copyObject is physically distinct from the original. The new instance is not created at the time it is returned.

createCopy

Answer a new BCanvasObject identical to this. Unlike #copy, which merely creates a new Smalltalk object with the same data and referring to the same canvas item, the object created with #copyObject is physically distinct from the original. The new instance has already been created at the time it is returned.

createCopyInto: newCanvas

Answer a new BCanvasObject identical to this but displayed into another canvas, newCanvas. The new instance has already been created at the time it is returned.

deepCopy

It does not make sense to make a copy, because it would make data inconsistent across different objects; so answer the receiver

grayOut

Apply a 50% gray stippling pattern to the object

shallowCopy

It does not make sense to make a copy, because it would make data inconsistent across different objects; so answer the receiver


Next: , Previous: , Up: BLOX.BCanvasObject   [Index]