Inheritance diagram for Pixmap:

Properties | |
| Number | depth |
| Number | height |
| Rect | rect |
| Size | size |
| Number | width |
Methods | |
| void | fill (Color color) |
| Boolean | isNull () |
| void | load (String filename) |
| void | resize (Number width, Number height) |
| void | resize (Size size) |
| void | save (String filename) |
Constructors | |
| Pixmap (Pixmap pixmap) | |
| Pixmap (String filename) | |
| Pixmap () | |
This is the DAZ Script counterpart of the QPixmap type used in the DAZ Studio SDK.
| Pixmap::Pixmap | ( | ) |
Default Constructor.
| Pixmap::Pixmap | ( | String | filename | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| filename | The name of the file to load the pixmap's data from |
| Pixmap::Pixmap | ( | Pixmap | pixmap | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| pixmap | The pixmap to copy |
| void Pixmap::fill | ( | Color | color | ) |
Fills the pixmap with color
| color | The color to set all the pixels in the pixmap. |
| Boolean Pixmap::isNull | ( | ) |
Gets whether or not the pixmap is Null.
| void Pixmap::load | ( | String | filename | ) |
Loads data into the pixmap from a file
| filename | The name of the file to load into the pixmap |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Resizes the pixmap
| width | The new width for the pixmap | |
| height | The new height for the pixmap |
| void Pixmap::resize | ( | Size | size | ) |
Resizes the pixmap.
| size | The new size for the pixmap |
| void Pixmap::save | ( | String | filename | ) |
Saves the pixmap to a file
| filename | The name of the file to save the pixmap to. |
The color depth of the pixmap (Read-Only)
The height of the pixmap in pixels (Read-Only)
The enclosing rectangle of the pixmap in pixels (Read-Only)
The size of the pixmap (Read-Only)
The width of the pixmap in pixels (Read-Only)