Table of Contents

OIL2 Class Standard.DrawingObject


class Standard . DrawingObject {
        any     anchor;
        int32   embeddedFlag;
        int32   planeDepth;
        int32   tagId;
inherits from Object;

DESCRIPTION

Base class for drawing primitives.

METHODS


Standard.DrawingObject:getDrawingObjectType

DrawingObject:getDrawingObjectType()

Method Description

Returns a string value which identifies the type of the DrawingObject.


Standard.DrawingObject:setDepth

DrawingObject:setDepth(int32 depth)

Method Description

Sets the depth of the DrawingObject.

Return Value

Returns zero.


Standard.DrawingObject:getDepth

DrawingObject:getDepth()

Method Description

Returns the depth of the DrawingObject.


Standard.DrawingObject:setAnchor

DrawingObject:setAnchor(any url)

Method Description

The setAnchor method is used to associate a hypertext link with the shape. The url string can be a fully qualified URL, such as "http://www.fargos.net/downloads.html" or a relative URL. If url is specified as nil or the null string, then any association with a hypertext link will be cleared.

Return Value

The value 0 will be returned.


Standard.DrawingObject:getAnchor

DrawingObject:getAnchor()

Method Description

Returns a string representing the hypertext link associated with the shape. A null string indicates that no hypertext link has been set by setAnchor.