style

Create a new style initialized with given D code.

raylib and std.string are accessible inside by default.

Note: It is recommended to create a root style node defining font parameters and then inherit other styles from it.

  1. Style style(Data data, Style[] parents)
  2. Style style(Style[] parents)
    @safe
    style
    (
    string init
    )

Parameters

init

D code to use.

parents Style[]

Styles to inherit from. See Style.this documentation for more info.

Meta