Aesthetics#

Color and Fill#

Colors and fills of geometries can be specified in the following ways:

  • RGB/RGBA (e.g. "rgb(0, 0, 255)", "rgba(0, 0, 255, 0.5)").

  • HEX (e.g. "#0000ff", "#00f").

  • A name, one of:

Color names Color names (dark)
  • A system color name, one of:

System color pen System color pen (dark)
System color brush System color brush (dark)
System color paper System color paper (dark)

Point Shapes#

Point shapes Point shapes (dark)

Line Types#

Predefined Patterns#

Predefined line types Predefined line types (dark)

Custom Patterns#

Ways to specify the linetype:

  • list, defining the pattern of dashes and gaps used to draw the line: [dash, gap, ...];

  • list with specified offset: [offset, [dash, gap, ...]];

  • string of an even number (up to eight) of hexadecimal digits which give the lengths in consecutive positions in the string.

Custom line types Custom line types (dark)

Text#

Font Family#

Universal font names:

Font families Font families (dark)

The default font family is 'sans'.

You can also use the name of any other font installed on your system (e.g. "Times New Roman").

Font Face#

Font faces Font faces (dark)

The default font face is 'plain'.