BandaStation - Modules - TypesVar Details - Proc Details

crayon

Vars

color_strengthUsed by create_outline to determine how strong (how wide) the outline itself will be.

Procs

create_outlineUsing a given atom, gives this decal an outline of said atom, then masks the contents, leaving us with solely the outline. This also deletes the previous icon, so the decal turns into JUST an outline. Args: outlined_atom: Anything you wish to draw an outline of. add_mouse_opacity: Boolean on whether you want mouse opacity, which allows the outline to be clickable/examinable without the context menu.

Var Details

color_strength

Used by create_outline to determine how strong (how wide) the outline itself will be.

Proc Details

create_outline

Using a given atom, gives this decal an outline of said atom, then masks the contents, leaving us with solely the outline. This also deletes the previous icon, so the decal turns into JUST an outline. Args: outlined_atom: Anything you wish to draw an outline of. add_mouse_opacity: Boolean on whether you want mouse opacity, which allows the outline to be clickable/examinable without the context menu.