StyleSettings

Qualified name: algan.settings.style\_settings.StyleSettings

class StyleSettings(background: 'Color' = <factory>, frame: 'Color' = <factory>, text_color: 'Color' = <factory>, buffer: 'float' = 0.6, fade_out_on_scene_end: 'bool' = False, default_material: 'object | None' = None, shape_style_profile: 'str' = 'algan', border_placement: 'str' = 'inward', manim_stroke_width_ratio: 'float' = 2.0)[source]

Bases: Settings

Methods

set_background

Set 'background', or return a modified preset copy.

set_border_placement

Set 'border_placement', or return a modified preset copy.

set_buffer

Set 'buffer', or return a modified preset copy.

set_default_material

Set 'default_material', or return a modified preset copy.

set_fade_out_on_scene_end

Set 'fade_out_on_scene_end', or return a modified preset copy.

set_frame

Set 'frame', or return a modified preset copy.

set_manim_stroke_width_ratio

Set 'manim_stroke_width_ratio', or return a modified preset copy.

set_shape_style_profile

Set 'shape_style_profile', or return a modified preset copy.

set_text_color

Set 'text_color', or return a modified preset copy.

Attributes

border_placement

buffer

default_material

fade_out_on_scene_end

is_preset

manim_stroke_width_ratio

shape_style_profile

background

frame

text_color

Parameters:
  • background (Color)

  • frame (Color)

  • text_color (Color)

  • buffer (float)

  • fade_out_on_scene_end (bool)

  • default_material (object | None)

  • shape_style_profile (str)

  • border_placement (str)

  • manim_stroke_width_ratio (float)

set_background(value)

Set ‘background’, or return a modified preset copy.

set_border_placement(value)

Set ‘border_placement’, or return a modified preset copy.

set_buffer(value)

Set ‘buffer’, or return a modified preset copy.

set_default_material(value)

Set ‘default_material’, or return a modified preset copy.

set_fade_out_on_scene_end(value)

Set ‘fade_out_on_scene_end’, or return a modified preset copy.

set_frame(value)

Set ‘frame’, or return a modified preset copy.

set_manim_stroke_width_ratio(value)

Set ‘manim_stroke_width_ratio’, or return a modified preset copy.

set_shape_style_profile(value)

Set ‘shape_style_profile’, or return a modified preset copy.

set_text_color(value)

Set ‘text_color’, or return a modified preset copy.