IGraphicFace¶
- class IGraphicFace¶
Bases:
ImpactCOMWrapperBase- Description:
Defines the properties face of a graphic image, typically print or die face.
- Remarks:
Note that the behaviour of some of the properties has changed in 11.1.0.28 and 12.0.0.72. Although they remain read/write properties, in order to maintain interface compatibility, you should not try to set the Angle, Height, Width, origin_x, origin_y properties. In earlier versions, you were able to change these properties, but doing so did not give useful results.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property angle¶
Gets Angle.
- Description:
Specifies the angle of the graphic face.
- Remarks:
Changed in Impact 11.1.0.28 and 12.0.0.72. Although this property appears to be writable, attempting to change the value will generate a ‘Not implemented’ exception.
- Returns:
The value of Angle.
- Return type:
angle (float)
- property fill_colour¶
Gets fill_colour.
- Description:
Specifies the fill colour of the face.
- Remarks:
This property is only used if the graphic_type property is gtSolid.
- Returns:
The value of fill_colour.
- Return type:
fill_colour (int)
- Examples:
- property graphic_image¶
Gets graphic_image.
- Description:
Specifies the IGraphicImage to display on this face.
- Remarks:
This property is only used if the graphic_type property is gtImage or gtEmbossing. gtEmbossing was introduced in Impact 12.0.0.163.
- Returns:
The value of graphic_image.
- Return type:
- property graphic_type¶
Gets graphic_type.
- Description:
Specifies the type of graphic that is displayed on this face.
- Returns:
The value of graphic_type.
- Return type:
- property height¶
Gets Height.
- Description:
Specifies the height of the image.
- Remarks:
Changed in 11.1.0.28 and 12.0.0.72. Although this property appears to be writable, attempting to change the value will generate a ‘Not implemented’ exception.
- Returns:
The value of Height.
- Return type:
height (float)
- property origin_x¶
Gets origin_x.
- Description:
Specifies the origin position of the image in the X direction.
- Remarks:
Changed in Impact 11.1.0.28 and 12.0.0.72. Although this property appears to be writable, attempting to change the value will generate a ‘Not implemented’ exception.
- Returns:
The value of origin_x.
- Return type:
origin_x (float)
- property origin_y¶
Gets origin_y.
- Description:
Specifies the origin position of the image in the Y direction.
- Remarks:
Changed in Impact 11.1.0.28 and 12.0.0.72. Although this property appears to be writable, attempting to change the value will generate a ‘Not implemented’ exception.
- Returns:
The value of origin_y.
- Return type:
origin_y (float)
- property width¶
Gets Width.
- Description:
Specifies the width of the image.
- Remarks:
Changed in Impact 11.1.0.28 and 12.0.0.72. Although this property appears to be writable, attempting to change the value will generate a ‘Not implemented’ exception.
- Returns:
The value of Width.
- Return type:
width (float)
- assign(other)¶
- Description:
Assigns the properties of another IGraphicFace object to this one.
- Parameters:
other (IGraphicFace) – Specifes the IGraphicFace object to assign from.