Hair library class.
Set hair mode.
Parameters: |
|
---|
Get hair mode.
Parameters: | doc (BaseDocument) – Document. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: | int | ||||||||||||||
Returns: | Hair mode:
|
Gets the number of guides.
Parameters: |
|
---|---|
Return type: | |
Returns: | Resulting color. |
Mix by the s and t coordinates among pa, pb, pc and pd.
Parameters: | |
---|---|
Return type: | tuple(float, float) |
Returns: | The s and t coordinates. |
Calculate the s and t coordinates of the point p in the polygon described by pa, pb, pc and pd.
Parameters: | |
---|---|
Return type: | tuple(float, float) |
Returns: | The s and t coordinates. |
Get the hair version.
Return type: | int |
---|---|
Returns: | Hair version number. |