A paint stroke, which may be animated.
A paint stroke is represented as a sequence of AnimControlPoint
objects. You can find out how many control points there are in the stroke
using python's built-in len() function; and you can access individual
control points using the array-style syntax (e.g. stroke[0] returns the
first control point, stroke[-1] returns the last control point,
etc.).
|
|
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
|
|
None
|
append(self,
controlPoint)
Add a new control point to the stroke. |
|
|
CubicCurve
|
evaluate(self,
time,
viewName='default')
Bake out a curve for the path of this stroke at the specified time. |
|
|
AnimAttributes
|
getAttributes(self)
Gets the collection of attributes for this stroke. |
|
|
bool
|
getFlag(self,
flag)
Check whether a particular flag is set or not. |
|
|
AnimCTransform
|
getTransform(self)
Gets the transform for this shape. |
|
|
None
|
insert(self,
index,
controlPoint)
Insert a new control point in the stroke before the given index. |
|
|
None
|
remove(self,
index)
Remove the control point at the given index. |
|
|
None
|
setFlag(self,
flag,
value)
Set a particular flag. |
|
|
Inherited from Element :
clone ,
getVisible ,
serialise ,
setVisible
Inherited from object :
__format__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|