Back: BLOX.BEdit-widget protocol Up: BLOX package Forward: BLOX.BEmbeddedImage-accessing   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.16 BLOX.BEmbeddedImage

Defined in namespace BLOX
Superclass: BLOX.BBoundingBox
Category: Graphics-Windows
I can draw a colorful image inside the canvas.

1.16.1 BLOX.BEmbeddedImage: accessing  (instance)


1.16.1 BLOX.BEmbeddedImage: accessing

copyInto: aBlox
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.

data
Answer the data of the image. The result will be a String containing image data either as Base-64 encoded GIF data, as XPM data, or as PPM data.

data: aString
Set the data of the image. aString may contain the data either as Base-64 encoded GIF data, as XPM data, or as PPM data. No changes are visible until you toggle a redraw using the appropriate method.

redraw
Force the object to be displayed in the parent canvas, creating it if it has not been inserted for real in the parent, and refresh its position and image data if it has changed.



Back: BLOX.BEmbeddedImage Up: BLOX.BEmbeddedImage Forward: BLOX.BEmbeddedText   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on April, 16 2013 using texi2html