python-igraph API reference

List of all classes, functions and methods in python-igraph

class documentation

class RectangleDrawer(ShapeDrawer):

View In Hierarchy

Static class which draws rectangular vertices

Class Variable names Undocumented
Static Method draw_path Draws a rectangle-shaped path on the Cairo context without stroking or filling it. @see: ShapeDrawer.draw_path
Static Method intersection_point Determines where the rectangle centered at (center_x, center_y) having the given width and height intersects with a line drawn from (source_x, source_y) to (center_x, center_y).
names =

Undocumented

(type: str)
@staticmethod
def draw_path(ctx, center_x, center_y, width, height=None):

Draws a rectangle-shaped path on the Cairo context without stroking or filling it.

See AlsoShapeDrawer.draw_path
@staticmethod
def intersection_point(center_x, center_y, source_x, source_y, width, height=None):

Determines where the rectangle centered at (center_x, center_y) having the given width and height intersects with a line drawn from (source_x, source_y) to (center_x, center_y).

See AlsoShapeDrawer.intersection_point
API Documentation for python-igraph, generated by pydoctor 21.2.2 at 2021-10-18 16:11:46.