SYMBOL INDEX (202 symbols across 23 files) FILE: examples/1 - Basics/4 - Organizing the code.py function romaji (line 30) | def romaji(line, l): function kanji (line 35) | def kanji(line, l): function sub (line 40) | def sub(line, l): FILE: examples/2 - Beginner/1 - First Simple Effect.py function leadin_effect (line 32) | def leadin_effect(line: Line, obj: Syllable | Char, l: Line): function main_effect (line 44) | def main_effect(line: Line, obj: Syllable | Char, l: Line): function leadout_effect (line 72) | def leadout_effect(line: Line, obj: Syllable | Char, l: Line): function romaji (line 84) | def romaji(line: Line, l: Line): function kanji (line 92) | def kanji(line: Line, l: Line): function sub (line 100) | def sub(line: Line, l: Line): FILE: examples/2 - Beginner/2 - Utilities.py function romaji (line 24) | def romaji(line, l): function sub (line 94) | def sub(line, l): FILE: examples/2 - Beginner/3 - Variants.py function romaji (line 32) | def romaji(line, l): function kanji (line 196) | def kanji(line, l): function sub (line 298) | def sub(line, l): FILE: examples/2 - Beginner/4 - Accelerate Demo.py function generate_color_palette (line 50) | def generate_color_palette(count): FILE: examples/2 - Beginner/5 - Image to Pixels Demo.py function image_effect (line 35) | def image_effect(line: Line, l: Line): function sub (line 63) | def sub(line: Line, l: Line): FILE: examples/3 - Advanced/1 - WIP.py function romaji (line 11) | def romaji(line, l): FILE: examples/3 - Advanced/2 - Testing Pixels (WIP).py function romaji (line 15) | def romaji(line, l): FILE: examples/3 - Advanced/3 - Morphing.py function romaji (line 36) | def romaji(line: Line, l: Line) -> None: function sub (line 207) | def sub(line: Line, l: Line, prev_line=None, next_line=None) -> None: FILE: examples/4 - Community/1 - Dangos/dango_config.py function _make_shape (line 42) | def _make_shape(path: str) -> Shape: function _make_shapes (line 46) | def _make_shapes(**shapes) -> dict[str, Shape]: function _make_config (line 50) | def _make_config( FILE: examples/4 - Community/1 - Dangos/main.py class Dango (line 54) | class Dango: method __init__ (line 55) | def __init__( method load_variant (line 85) | def load_variant( method _create_style_tags_for_properties (line 100) | def _create_style_tags_for_properties(self) -> str: method _create_style_tags (line 113) | def _create_style_tags(self, part_name: str) -> str: method _create_interpolated_style_tags (line 131) | def _create_interpolated_style_tags( method _render_frame (line 176) | def _render_frame( method morph_from_shapes (line 193) | def morph_from_shapes( method idle (line 241) | def idle( method move_to (line 304) | def move_to( method exit_jump_down_fall (line 346) | def exit_jump_down_fall( method exit_furious_dash (line 429) | def exit_furious_dash( method exit_slow_steps (line 449) | def exit_slow_steps( method exit_heart_spiral (line 488) | def exit_heart_spiral( method piggyback_onto (line 543) | def piggyback_onto( method tug_away (line 663) | def tug_away( method _spawn_heart (line 722) | def _spawn_heart(self, start_time: int) -> None: function leadin_effect (line 750) | def leadin_effect( function main_effect (line 783) | def main_effect( function process_romaji_line (line 816) | def process_romaji_line(line: Line, l: Line) -> None: function process_subtitle_line (line 923) | def process_subtitle_line(line: Line, l: Line) -> None: FILE: pyonfx/ass_core.py class Meta (line 46) | class Meta: method parse_line (line 73) | def parse_line(self, line: str, ass_path: str) -> str: class Style (line 120) | class Style: method from_ass_line (line 179) | def from_ass_line(cls, line: str) -> "Style": method serialize (line 221) | def serialize(self, style_name: str) -> str: class Char (line 276) | class Char: method __repr__ (line 320) | def __repr__(self): class Syllable (line 325) | class Syllable: method __repr__ (line 371) | def __repr__(self): class Word (line 376) | class Word: method __repr__ (line 416) | def __repr__(self): class Line (line 421) | class Line: method __repr__ (line 493) | def __repr__(self): method copy (line 496) | def copy(self) -> "Line": method from_ass_line (line 504) | def from_ass_line( method serialize (line 574) | def serialize(self) -> str: class Ass (line 589) | class Ass: method __init__ (line 651) | def __init__( method _process_extended_line_data (line 728) | def _process_extended_line_data(self, vertical_kanji: bool) -> None: method get_data (line 1313) | def get_data(self) -> tuple[Meta, dict[str, Style], list[Line]]: method add_style (line 1321) | def add_style(self, style_name: str, style: Style) -> None: method write_line (line 1346) | def write_line(self, line: Line) -> None: method save (line 1358) | def save(self, quiet: bool = False) -> None: method open_aegisub (line 1423) | def open_aegisub(self) -> bool: method open_mpv (line 1448) | def open_mpv( method track (line 1555) | def track(self, func: Callable[..., Any]) -> Callable[..., Any]: function resolve_path (line 1585) | def resolve_path(base_path: str, input_path: str) -> str: function pretty_print (line 1598) | def pretty_print(obj): FILE: pyonfx/convert.py class ColorModel (line 39) | class ColorModel(Enum): class Convert (line 49) | class Convert: method time (line 57) | def time(ass_ms: int) -> str: ... method time (line 61) | def time(ass_ms: str) -> int: ... method time (line 64) | def time(ass_ms: int | str) -> int | str: method alpha_ass_to_dec (line 99) | def alpha_ass_to_dec(alpha_ass: str) -> int: method alpha_dec_to_ass (line 123) | def alpha_dec_to_ass(alpha_dec: int | float) -> str: method color (line 153) | def color( method color_ass_to_rgb (line 277) | def color_ass_to_rgb( method color_ass_to_hsv (line 307) | def color_ass_to_hsv( method color_rgb_to_ass (line 333) | def color_rgb_to_ass( method color_rgb_to_hsv (line 359) | def color_rgb_to_hsv( method color_hsv_to_ass (line 391) | def color_hsv_to_ass( method color_hsv_to_rgb (line 413) | def color_hsv_to_rgb( method text_to_shape (line 452) | def text_to_shape( method text_to_clip (line 503) | def text_to_clip( method text_to_pixels (line 577) | def text_to_pixels( method shape_to_pixels (line 618) | def shape_to_pixels( method image_to_pixels (line 708) | def image_to_pixels( FILE: pyonfx/font.py class Font (line 45) | class Font: method __init__ (line 50) | def __init__(self, style: "Style"): method __del__ (line 131) | def __del__(self): method get_metrics (line 136) | def get_metrics(self) -> tuple[float, float, float, float]: method get_text_extents (line 158) | def get_text_extents(self, text: str) -> tuple[float, float]: method text_to_shape (line 197) | def text_to_shape(self, text: str) -> Shape: FILE: pyonfx/pixel.py class Pixel (line 23) | class Pixel: method with_color (line 29) | def with_color(self, color: str | tuple[int, int, int]) -> "Pixel": method with_alpha (line 32) | def with_alpha(self, alpha: str | int) -> "Pixel": method with_position (line 35) | def with_position(self, x: int, y: int) -> "Pixel": class PixelCollection (line 39) | class PixelCollection: method __init__ (line 40) | def __init__(self, pixels: Iterable[Pixel]): method __iter__ (line 43) | def __iter__(self) -> Iterator[Pixel]: method __len__ (line 46) | def __len__(self) -> int: method __getitem__ (line 49) | def __getitem__(self, index: int | slice) -> "Pixel | PixelCollection": method __bool__ (line 54) | def __bool__(self) -> bool: method __repr__ (line 57) | def __repr__(self) -> str: method bounds (line 62) | def bounds(self) -> tuple[int, int, int, int]: method width (line 71) | def width(self) -> int: method height (line 76) | def height(self) -> int: method is_empty (line 80) | def is_empty(self) -> bool: method filter (line 84) | def filter(self, predicate: Callable[[Pixel], bool]) -> "PixelCollecti... method filter_by_region (line 87) | def filter_by_region(self, x1: int, y1: int, x2: int, y2: int) -> "Pix... method filter_by_color (line 90) | def filter_by_color(self, color: str | tuple[int, int, int]) -> "Pixel... method at_position (line 93) | def at_position(self, x: int, y: int) -> list[Pixel]: method map (line 98) | def map(self, transform: Callable[[Pixel], Pixel]) -> "PixelCollection": method translate (line 101) | def translate(self, dx: int, dy: int) -> "PixelCollection": method apply_texture (line 105) | def apply_texture( FILE: pyonfx/shape.py class ShapeElement (line 38) | class ShapeElement: method __init__ (line 46) | def __init__(self, command: str, coordinates: list[Point]): method __repr__ (line 52) | def __repr__(self): method __eq__ (line 56) | def __eq__(self, other): method from_ass_drawing_cmd (line 64) | def from_ass_drawing_cmd(cls, command: str, *args: str) -> list["Shape... class Shape (line 129) | class Shape: method __init__ (line 165) | def __init__(self, drawing_cmds: str = "", elements: list[ShapeElement... method __repr__ (line 174) | def __repr__(self): method __eq__ (line 178) | def __eq__(self, other: "Shape"): method __iter__ (line 181) | def __iter__(self): method drawing_cmds (line 185) | def drawing_cmds(self) -> str: method _cmds_to_elements (line 190) | def _cmds_to_elements(drawing_cmds: str) -> list[ShapeElement]: method _elements_to_cmds (line 220) | def _elements_to_cmds(elements: list[ShapeElement]) -> str: method format_value (line 256) | def format_value(x: float, prec: int = 3) -> str: method to_multipolygon (line 261) | def to_multipolygon(self, tolerance: float = 1.0) -> MultiPolygon: method from_multipolygon (line 335) | def from_multipolygon( method bounding (line 397) | def bounding(self, exact: bool = False) -> tuple[float, float, float, ... method boolean (line 521) | def boolean( method map (line 577) | def map( method move (line 636) | def move(self, x: float, y: float) -> "Shape": method align (line 660) | def align(self, an: int = 5, anchor: int | None = None) -> "Shape": method scale (line 731) | def scale( method rotate (line 769) | def rotate( method shear (line 828) | def shear( method flatten (line 864) | def flatten(self, tolerance: float = 1.0) -> "Shape": method split (line 994) | def split(self, max_len: float = 16, tolerance: float = 1.0) -> "Shape": method buffer (line 1108) | def buffer( method _prepare_morph (line 1197) | def _prepare_morph( method morph (line 1516) | def morph( method morph_multi (line 1595) | def morph_multi( method polygon (line 1846) | def polygon(edges: int, side_length: float) -> "Shape": method ellipse (line 1880) | def ellipse(w: float, h: float) -> "Shape": method ring (line 1927) | def ring(out_r: float, in_r: float) -> "Shape": method heart (line 2012) | def heart(size: float, offset: float = 0) -> "Shape": method _glance_or_star (line 2051) | def _glance_or_star( method star (line 2099) | def star(edges: int, inner_size: float, outer_size: float) -> "Shape": method glance (line 2115) | def glance(edges: int, inner_size: float, outer_size: float) -> "Shape": FILE: pyonfx/utils.py class Utils (line 28) | class Utils: method progress_bar (line 36) | def progress_bar( method all_non_empty (line 84) | def all_non_empty( method accelerate (line 137) | def accelerate( method interpolate (line 208) | def interpolate( class FrameUtility (line 337) | class FrameUtility: method __init__ (line 390) | def __init__( method __iter__ (line 424) | def __iter__(self): method reset (line 443) | def reset(self): method add (line 451) | def add( class ColorUtility (line 543) | class ColorUtility: method __init__ (line 591) | def __init__(self, lines: list[Line], offset: int = 0): method get_color_change (line 693) | def get_color_change( method get_fr_color_change (line 784) | def get_fr_color_change( FILE: tests/shape/test_elements.py function test_iter (line 7) | def test_iter(): function test_iter_error_handling (line 149) | def test_iter_error_handling(): function test_iter_roundtrip_with_from_elements (line 173) | def test_iter_roundtrip_with_from_elements(): function test_shape_element_equality_and_repr (line 213) | def test_shape_element_equality_and_repr(): function test_shape_element_validation (line 242) | def test_shape_element_validation(): FILE: tests/shape/test_generation.py function test_polygon_invalid_edges (line 8) | def test_polygon_invalid_edges(): function test_polygon_side_length_negative (line 13) | def test_polygon_side_length_negative(): function test_polygon_basic_properties (line 18) | def test_polygon_basic_properties(): function test_ellipse_bounding (line 25) | def test_ellipse_bounding(): function test_ring_invalid_radii (line 33) | def test_ring_invalid_radii(): function test_ring_bounding (line 38) | def test_ring_bounding(): FILE: tests/shape/test_operations.py function test_map (line 11) | def test_map(): function test_bounding (line 37) | def test_bounding(): function test_move (line 69) | def test_move(): function test_align (line 76) | def test_align(): function test_scale (line 167) | def test_scale(): function test_flatten (line 215) | def test_flatten(): function test_split (line 234) | def test_split(): function test_rotate (line 248) | def test_rotate(): function test_shear (line 279) | def test_shear(): function test_boolean_basic_areas (line 296) | def test_boolean_basic_areas(): function test_boolean_invalid_input (line 313) | def test_boolean_invalid_input(): FILE: tests/test_ass.py function test_meta_values (line 23) | def test_meta_values(): function test_line_values (line 37) | def test_line_values(): function test_syllable_values (line 150) | def test_syllable_values(): function test_ass_values (line 285) | def test_ass_values(): FILE: tests/test_convert.py function test_coloralpha (line 22) | def test_coloralpha(): function test_text_to_shape (line 184) | def test_text_to_shape(): function test_text_to_shape_with_spacing (line 209) | def test_text_to_shape_with_spacing(): FILE: tests/test_utils.py function test_interpolation (line 20) | def test_interpolation(): function test_frame_utility (line 25) | def test_frame_utility():