c4d.IconData¶
-
class
c4d.IconData¶ Represents a single icon in a large bitmap array.
New in version R21.
Attributes
-
c4d.IconData.bmp¶ The bitmap. Can be None.
Type: Optional[
c4d.bitmaps.BaseBitmap]
-
c4d.IconData.x¶ The X coordinate of the upper-left corner of the icon.
Type: int
-
c4d.IconData.y¶ The Y coordinate of the upper-left corner of the icon.
Type: int
-
c4d.IconData.w¶ The width of the icon.
Type: int
-
c4d.IconData.h¶ The height of the icon.
Type: int
-
c4d.IconData.flags¶ The flags
Type:
ICONDATAFLAGS_NONE
None.
ICONDATAFLAGS_APPLYCOLORPROFILE
Applies color profile.
ICONDATAFLAGS_DISABLED
Disabled icon.
Overview¶
Bitmap Parts |
|
Gets a copy of the bitmap’s part for the icon data. |
|
Gets a copy of the scaled bitmap’s part for the icon data with the size |
|
Display Dimensions |
|
Gets the GUI scaled height of the icon data. |
|
Gets the GUI scaled width of the icon data. |
|
Magic Methods |
|
Initializes a new |
|
Members¶
Bitmap Parts¶
-
IconData.GetClonePart(self)¶ Gets a copy of the bitmap’s part for the icon data.
- Return type
- Returns
The copy of the icon part.
-
IconData.GetGuiScalePart(self)¶ Gets a copy of the scaled bitmap’s part for the icon data with the size
IconData.GetGuiW()/IconData.GetGuiH().- Return type
- Returns
The copy of the scaled icon part.