mini_arcade_core.engine.render.style

Render styles for entities.

Classes

Stroke

Simple stroke entity.

Fill

Simple fill entity.

RenderStyle

Simple render style entity.

Module Contents

class mini_arcade_core.engine.render.style.Stroke[source]

Simple stroke entity.

Variables:
  • color – The color of the stroke.

  • thickness – The thickness of the stroke.

color: mini_arcade_core.backend.types.Color = (255, 255, 255, 255)
thickness: float = 1.0
class mini_arcade_core.engine.render.style.Fill[source]

Simple fill entity.

Variables:

color – The color of the fill.

color: mini_arcade_core.backend.types.Color = (255, 255, 255, 255)
class mini_arcade_core.engine.render.style.RenderStyle[source]

Simple render style entity.

Variables:
  • stroke – The stroke of the render style.

  • fill – The fill of the render style.

stroke: Stroke | None = None
fill: Fill | None = None