Package pyscript :: Module path :: Class _line
[show private | hide private]
[frames | no frames]

Class _line

object --+
         |
        _line


A line pathlette
Method Summary
  __init__(self, s, e)
  _get_end(self)
return end point
  _get_length(self)
Get the length of the pathlette
  _get_start(self)
return start point
  bbox(self, itoe)
Return the bounding box
  body(self)
Return the postscript body
  P(self, f)
return point at fraction f of length
  tangent(self, f)
return angle of tangent of curve at fraction f of length
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Property Summary
  end
  length
  start

Class Variable Summary
NoneType e = None                                                                  
NoneType s = None                                                                  

Method Details

_get_end(self)

return end point

_get_length(self)

Get the length of the pathlette

_get_start(self)

return start point

bbox(self, itoe=<function Identity at 0x404fded4>)

Return the bounding box

body(self)

Return the postscript body

P(self, f)

return point at fraction f of length

tangent(self, f)

return angle of tangent of curve at fraction f of length

Property Details

end

Get Method:
_get_end(self)

length

Get Method:
_get_length(self)

start

Get Method:
_get_start(self)

Class Variable Details

e

Type:
NoneType
Value:
None                                                                  

s

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.0 on Mon Apr 24 17:02:34 2006 http://epydoc.sf.net