Documentation for gcanvas.ew v0.10.5
Table of Contents

Properties

Rudimentary ways to attach info to a canvas or object


  • func getGfxCanvasProperty(integer canvasID)    Return the Euphoria object associated with the canvas by setGfxCanvasProperty
  • func getGfxCanvasShapeProperty(integer objectID)    Get the property set by getGfxCanvasShapeProperty
  • proc setGfxCanvasProperty(integer canvasID, object property)   Set a property (really just a Euphoria object) on the canvas
  • proc setGfxCanvasShapeProperty(integer objectID, object property)   Set the property associated with an object added to the canvas

    Documentation for gcanvas.ew v0.10.5
    Table of Contents

    [func]
    getGfxCanvasProperty
    (integer canvasID)

    Return the Euphoria object associated with the canvas by setGfxCanvasProperty

    Category: Properties

    See Also: getGfxCanvasShapeProperty, setGfxCanvasProperty, setGfxCanvasShapeProperty


    Documentation for gcanvas.ew v0.10.5
    Table of Contents

    [func]
    getGfxCanvasShapeProperty
    (integer objectID)

    Get the property set by getGfxCanvasShapeProperty

    Returns: Whatever you put there

    Category: Properties

    See Also: getGfxCanvasProperty, setGfxCanvasProperty, setGfxCanvasShapeProperty


    Documentation for gcanvas.ew v0.10.5
    Table of Contents

    [proc]
    setGfxCanvasProperty
    (integer canvasID, object property)

    Set a property (really just a Euphoria object) on the canvas

    Category: Properties


    It is up to you to determine how the property is interpreted by your program
    Eg There is no built in 'name'='value' concept

    See Also: getGfxCanvasProperty, getGfxCanvasShapeProperty, setGfxCanvasShapeProperty


    Documentation for gcanvas.ew v0.10.5
    Table of Contents

    [proc]
    setGfxCanvasShapeProperty
    (integer objectID, object property)

    Set the property associated with an object added to the canvas

    Category: Properties


    Similar to setGfxCanvasProperty it is just a Euphoria object so what you use it
    for is up to you.
    Will probably be renamed in future to setGfxCanvasObjectProperty

    See Also: getGfxCanvasProperty, getGfxCanvasShapeProperty, setGfxCanvasProperty