Image
        Inherits: Shape
Draws an image.
Properties
- 
          height(Number | None) –The height of the rectangle to draw the image into. Use image height if None. 
- 
          paint(Paint | None) –A paint to composite the image into canvas. 
- 
          src(str | None) –Draws an image from a source. 
- 
          src_bytes(bytes | None) –Draws an image from a bytes array. 
- 
          width(Number | None) –The width of the rectangle to draw the image into. Use image width if None. 
- 
          x(Number | None) –The x-axis coordinate of the image's top-left corner. 
- 
          y(Number | None) –The y-axis coordinate of the image's top-left corner. 
Properties#
class-attribute
      instance-attribute
  
#
height: Number | None = None
The height of the rectangle to draw the image into. Use image height if None.
class-attribute
      instance-attribute
  
#
paint: Paint | None = None
A paint to composite the image into canvas.
class-attribute
      instance-attribute
  
#
src: str | None = None
Draws an image from a source.
This could be an external URL or a local asset file.
class-attribute
      instance-attribute
  
#
src_bytes: bytes | None = None
Draws an image from a bytes array.
class-attribute
      instance-attribute
  
#
width: Number | None = None
The width of the rectangle to draw the image into. Use image width if None.