Skip to main content
Language version: 2 · Reference version: 2.7 · Date: 2026-10-25 · Compiler build: df7b3b14 · Namespace: linefill · Entries: 7

linefill (library)

Definition Functions for filling the region between two line drawings. One fill per ordered line pair; creating another fill on the same pair replaces the previous one. Deleting a line also deletes fills that use it. Example

linefill.all (function)

Definition Returns the array of all existing linefill objects (same as the linefill.all variable). Syntax
Returns series array<linefill> An array of linefill IDs, oldest to newest. Example

linefill.delete (function)

Definition Deletes a linefill. Does not delete the two lines it was attached to. Deleting either line also deletes attached fills. Syntax
Parameters Returns void void Example

linefill.get_line1 (function)

Definition Returns the first line used when the fill was created. Syntax
Parameters Returns series line The first line object, or na if the fill or line no longer exists. Example

linefill.get_line2 (function)

Definition Returns the second line used when the fill was created. Syntax
Parameters Returns series line The second line object, or na if the fill or line no longer exists. Example

linefill.new (function)

Definition Creates a fill between two lines. If a fill already exists for this ordered pair (line1, line2), the previous fill is deleted and replaced. (line2, line1) is a different pair. Syntax
Parameters Returns series linefill The ID of the created linefill, or na if either line is invalid. Example

linefill.set_color (function)

Definition Sets the fill color of an existing linefill. Syntax
Parameters Returns void void Example