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

Class C

object --+
         |
        C


Specifier and generator for curves
Method Summary
  __init__(self, *args, **options)
store curve parameters
self __call__(self, **options)
Set a whole lot of attributes in one go
  create_arc(self, centre)
Create an arc
  create_bezier(self, p0, p1)
Create a bezier curve
  curve(self, p0, p1)
return pathlette object corresponding to curve
  fit_curve(self, p0, p1)
fit a natural looking spline to end slopes
    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
  fullyspecified

Class Variable Summary
NoneType arc = None                                                                  
NoneType c0 = None                                                                  
NoneType c1 = None                                                                  
int t0 = 1                                                                     
int t1 = 1                                                                     

Method Details

__init__(self, *args, **options)
(Constructor)

store curve parameters
Overrides:
__builtin__.object.__init__

__call__(self, **options)
(Call operator)

Set a whole lot of attributes in one go

eg:
 obj.set(bg=Color(.3), linewidth=2)
Returns:
self
           (type=self)

create_arc(self, centre)

Create an arc

create_bezier(self, p0, p1)

Create a bezier curve

curve(self, p0, p1=None)

return pathlette object corresponding to curve

fit_curve(self, p0, p1)

fit a natural looking spline to end slopes

Property Details

fullyspecified

Get Method:
_get_fullyspecified(self)

Class Variable Details

arc

Type:
NoneType
Value:
None                                                                  

c0

Type:
NoneType
Value:
None                                                                  

c1

Type:
NoneType
Value:
None                                                                  

t0

Type:
int
Value:
1                                                                     

t1

Type:
int
Value:
1                                                                     

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