Package libavg :: Module avg :: Class LineNode

Class LineNode


Instance Methods

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

    Inherited from VectorNode
 
setBitmap(bitmap)
Sets a bitmap to use as a texture.
    Inherited from Node
 
__eq__(...)
 
__hash__(...)
hash(x)
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
__ne__(...)
abspos
getAbsPos(relpos)
Transforms a position in coordinates relative to the node to a position in window coordinates.
node
getParent()
Returns the container (AVGNode or DivNode) the node is in.
relpos
getRelPos(abspos)
Transforms a position in window coordinates to a position in coordinates relative to the node.
 
releaseEventCapture(cursorid)
Restores normal mouse operation after a call to setEventCapture().
 
setEventCapture(cursorid)
Sets up event capturing so that cursor events are sent to this node regardless of the cursor position.
 
setEventHandler(type, source, pyfunc)
Sets a callback function that is invoked whenever an event of the specified type from the specified source occurs.
None
unlink(kill)
Removes a node from it's parent container.
Properties
  pos1
  pos2
  texcoord1
  texcoord2
  x1
  x2
  y1
  y2

Inherited from object: __class__

    Inherited from VectorNode
  blendmode
The method of compositing the node with the nodes under it.
  color
The color of the strokes in standard html color notation: FF0000 is red, 00FF00 green, etc.
  strokewidth
The width of the strokes in the vector.
  texhref
An image file to use as a texture for the node.
    Inherited from Node
  active
If this attribute is true, the node behaves as usual.
  id
A unique identifier that can be used to reference the node.
  opacity
A measure of the node's transparency.
  sensitive
A node only reacts to events if sensitive is true.
Property Details

pos1

Get Method:
unreachable(...)
Set Method:
unreachable(...)

pos2

Get Method:
unreachable(...)
Set Method:
unreachable(...)

texcoord1

Get Method:
unreachable(...)
Set Method:
unreachable(...)

texcoord2

Get Method:
unreachable(...)
Set Method:
unreachable(...)

x1

Get Method:
unreachable(...)
Set Method:
unreachable(...)

x2

Get Method:
unreachable(...)
Set Method:
unreachable(...)

y1

Get Method:
unreachable(...)
Set Method:
unreachable(...)

y2

Get Method:
unreachable(...)
Set Method:
unreachable(...)