class documentation
class UpTriangleDrawer(ShapeDrawer): (source)
Static class which draws upright triangles
Static Method | draw |
Draws an upright triangle on the Cairo context without stroking or filling it. |
Static Method | intersection |
Determines where the triangle centered at (center_x, center_y) intersects with a line drawn from (source_x, source_y) to (center_x, center_y). |
Class Variable | names |
Undocumented |
Draws an upright triangle on the Cairo context without stroking or filling it.
See Also | |
ShapeDrawer.draw_path |
@staticmethod
def intersection_point(center_x, center_y, source_x, source_y, width, height=None): (source) ¶
def intersection_point(center_x, center_y, source_x, source_y, width, height=None): (source) ¶
Determines where the triangle centered at (center_x, center_y) intersects with a line drawn from (source_x, source_y) to (center_x, center_y).
See Also | |
ShapeDrawer.intersection_point |