
## __init__ {#aspose.cad.fileformats.cad.cadobjects.CadRasterImageDef-aspose.cad.fileformats.cad.cadobjects.Cad3DPoint-aspose.cad.fileformats.cad.cadobjects.Cad3DPoint-aspose.cad.fileformats.cad.cadobjects.Cad3DPoint}

Initializes a new instance of the [`CadRasterImage`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadrasterimage) class.



```python
def __init__(self, image_def, insertion_point, u_vector, v_vector):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| image_def | [`CadRasterImageDef`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadrasterimagedef) | Image def. |
| insertion_point | [`Cad3DPoint`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cad3dpoint) | Insertion point. |
| u_vector | [`Cad3DPoint`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cad3dpoint) | U-vector. |
| v_vector | [`Cad3DPoint`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cad3dpoint) | V-vector. |
### Exceptions
| Exception | Description |
| :- | :- |
| ArgumentNullException | Thrown when one of arguments is null |
| ArgumentException | Thrown when CadRasterImageDef.ObjectHandle is null or empty |





### See Also
* module [`aspose.cad.fileformats.cad.cadobjects`](../../)
* class [`CadRasterImage`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadrasterimage)
