Crate n18brush Copy item path Source ImageFormat Supported output image formats. clear_surface Clears the surface with a uniform colour, or makes the surface entirely
transparent if no colour is provided. draw_barriers draw_barriers_subset draw_empty_hex draw_hex_backgrounds draw_map Draws the core map layers: hex backgrounds, tiles, empty hex borders, and
track barriers. draw_map_subset Draws the core map layers for a subset of map hexes: hex backgrounds,
tiles, empty hex borders, and track barriers. draw_tile_and_tokens_at Draw an arbitrary tile and tokens at the specified map hex, rather than
the tile and tokens that are currently placed at the map hex (if any). draw_tile_at Draw an arbitrary tile at the specified map hex, rather than the tile that
is currently placed at the map hex (if any). draw_tiles highlight_active_hex Highlights the active map hex by covering all other hexes with a
partially-transparent layer. highlight_hexes Highlights map hexes that satisfy a predicate by covering all other hexes
with a partially-transparent layer. highlight_path highlight_paths highlight_route Highlights a single route, using the current source. highlight_routes Highlights routes, using a different colour for each route. highlight_token_space Highlights a token space by drawing a border around it. highlight_tokens Highlights tokens that satisfy a predicate by drawing borders around them
and optionally filling the token space with, e.g., a semi-transparent
colour. image_size Returns the width and height of the image drawn by draw_fn. outline_empty_hexes