This documentation is for the free plugin Py4D in CINEMA 4D R11.5 and not for the C4DSDK of Python in CINEMA 4D R12. For R12, please visit PluginCafe.com
The abstract base class of all paint classes. Can be a texture, material, layer or mask.
PaintLayer
Fill the layer bitmap with an imported bitmap.
| Parameters: |
|
|---|---|
| Return type: | bool |
| Returns: | True if successful, otherwise False. |
Fill the layer bitmap with an imported bitmap.
| Parameters: |
|
|---|---|
| Return type: | bool |
| Returns: | True if successful, otherwise False. |
Get the bounding box of the bitmap layer:
d = layer_bmp.GetBoundingBox()
d["x1"], d["y1"], d["y1"], d["y2"]
| Return type: | dict |
|---|---|
| Returns: | The coordinates |