class_docstr: Abstract base class for vertex drawers that draw on a Cairo canvas.
docstr: Constructs the vertex drawer and associates it to the given
  Cairo context and the given L{BoundingBox}.
  
  @param context: the context on which we will draw
  @param bbox:    the bounding box within which we will draw.
                  Can be anything accepted by the constructor
                  of L{BoundingBox} (i.e., a 2-tuple, a 4-tuple
                  or a L{BoundingBox} object).
  @param palette: the palette that can be used to map integer
                  color indices to colors when drawing vertices
  @param layout:  the layout of the vertices in the graph being drawn
docstr_tok: ["Constructs","the","vertex","drawer","and","associates","it","to","the","given","Cairo","context","and","the","given","L","{","BoundingBox","}",".","@","param","context",":","the","context","on","which","we","will","draw","@","param","bbox",":","the","bounding","box","within","which","we","will","draw",".","Can","be","anything","accepted","by","the","constructor","of","L","{","BoundingBox","}","(","i.e.",",","a","2-tuple",",","a","4-tuple","or","a","L","{","BoundingBox","}","object",")",".","@","param","palette",":","the","palette","that","can","be","used","to","map","integer","color","indices","to","colors","when","drawing","vertices","@","param","layout",":","the","layout","of","the","vertices","in","the","graph","being","drawn"]
code: def __init__(self, context, bbox, palette, layout):
      """Constructs the vertex drawer and associates it to the given
      Cairo context and the given L{BoundingBox}.
  
      @param context: the context on which we will draw
      @param bbox:    the bounding box within which we will draw.
                      Can be anything accepted by the constructor
                      of L{BoundingBox} (i.e., a 2-tuple, a 4-tuple
                      or a L{BoundingBox} object).
      @param palette: the palette that can be used to map integer
                      color indices to colors when drawing vertices
      @param layout:  the layout of the vertices in the graph being drawn
      """
      AbstractCairoDrawer.__init__(self, context, bbox)
      AbstractVertexDrawer.__init__(self, palette, layout)
  
file_path: python-igraph/src/igraph/drawing/cairo/vertex.py
imports: from math import pi
  from igraph.drawing.baseclasses import AbstractVertexDrawer
  from igraph.drawing.metamagic import AttributeCollectorBase
  from igraph.drawing.shapes import ShapeDrawerDirectory
  from .base import AbstractCairoDrawer
label_desc: Use image node_id 1 to create a new AbstractCairoVertexDrawer object from inherited base classes: AbstractVertexDrawer, AbstractCairoDrawer with example: obj = AbstractCairoVertexDrawer(context, bbox, palette, layout)