spark.graph_editor.style.painter#

Attributes#

Classes#

Functions#

make_port_painter(shape_builder)

regular_polygon_builder(sides)

star_builder(points[, inner_ratio])

Builds a star (spark) with points spikes.

Module Contents#

spark.graph_editor.style.painter.make_port_painter(shape_builder)[source]#
Return type:

Callable

spark.graph_editor.style.painter.regular_polygon_builder(sides)[source]#
Return type:

Callable

spark.graph_editor.style.painter.star_builder(points, inner_ratio=0.5)[source]#

Builds a star (spark) with points spikes. inner_ratio: fraction of outer radius for the inner vertices.

Return type:

Callable

class spark.graph_editor.style.painter.Pallete[source]#
pallete[source]#
__call__(payload)[source]#
Parameters:

payload (type[spark.core.payloads.SparkPayload])

spark.graph_editor.style.painter.DEFAULT_PALLETE[source]#